mirror of
https://github.com/python/cpython.git
synced 2025-10-08 08:01:55 +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
|
@ -2043,7 +2043,7 @@ class MHMailbox:
|
|||
# list = map(long, filter(pat.match, os.listdir(self.dirname)))
|
||||
list = os.listdir(self.dirname)
|
||||
list = filter(pat.match, list)
|
||||
list = map(long, list)
|
||||
list = map(int, list)
|
||||
list.sort()
|
||||
# This only works in Python 1.6 or later;
|
||||
# before that str() added 'L':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue