summaryrefslogtreecommitdiff
path: root/Lib/urllib/request.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@wyplay.com>2011-10-05 14:13:28 +0200
committerVictor Stinner <vstinner@wyplay.com>2011-10-05 14:13:28 +0200
commitc80d6d20d57090016372ba6be7325b1fc0649413 (patch)
treed28fdb1b07492ebabfc8133405d3cee32e7431f5 /Lib/urllib/request.py
parentae86485517cab27d6cef96d036e870888660a144 (diff)
downloadcpython-git-c80d6d20d57090016372ba6be7325b1fc0649413.tar.gz
Speedup str[a:b:step] for step != 1
Try to stop the scanner of the maximum character before the end using a limit depending on the kind (e.g. 256 for PyUnicode_2BYTE_KIND).
Diffstat (limited to 'Lib/urllib/request.py')
0 files changed, 0 insertions, 0 deletions