mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +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
|
@ -45,7 +45,7 @@ finally:
|
|||
resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
|
||||
|
||||
# And be sure that setrlimit is checking for really large values
|
||||
too_big = 10L**50
|
||||
too_big = 10**50
|
||||
try:
|
||||
resource.setrlimit(resource.RLIMIT_FSIZE, (too_big, max))
|
||||
except (OverflowError, ValueError):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue