mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +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
|
@ -19,7 +19,7 @@ except (ImportError, AttributeError):
|
|||
|
||||
|
||||
# create >2GB file (2GB = 2147483648 bytes)
|
||||
size = 2500000000L
|
||||
size = 2500000000
|
||||
name = test_support.TESTFN
|
||||
|
||||
|
||||
|
@ -37,7 +37,7 @@ else:
|
|||
f = open(test_support.TESTFN, 'wb')
|
||||
try:
|
||||
# 2**31 == 2147483648
|
||||
f.seek(2147483649L)
|
||||
f.seek(2147483649)
|
||||
# Seeking is not enough of a test: you must write and flush, too!
|
||||
f.write("x")
|
||||
f.flush()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue