mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Rip out 'long' and 'L'-suffixed integer literals.
(Rough first cut.)
This commit is contained in:
parent
fc7bb8c786
commit
e2a383d062
146 changed files with 1446 additions and 1477 deletions
|
@ -148,7 +148,7 @@ class PimpUrllibDownloader(PimpDownloader):
|
|||
keepgoing = True
|
||||
download = urllib2.urlopen(url)
|
||||
if "content-length" in download.headers:
|
||||
length = long(download.headers['content-length'])
|
||||
length = int(download.headers['content-length'])
|
||||
else:
|
||||
length = -1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue