mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +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
|
@ -514,7 +514,7 @@ class FTP:
|
|||
try:
|
||||
return int(s)
|
||||
except (OverflowError, ValueError):
|
||||
return long(s)
|
||||
return int(s)
|
||||
|
||||
def mkd(self, dirname):
|
||||
'''Make a directory, return its full pathname.'''
|
||||
|
@ -564,7 +564,7 @@ def parse150(resp):
|
|||
try:
|
||||
return int(s)
|
||||
except (OverflowError, ValueError):
|
||||
return long(s)
|
||||
return int(s)
|
||||
|
||||
|
||||
_227_re = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue