mirror of
https://github.com/python/cpython.git
synced 2025-10-16 19:57:59 +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
|
@ -21,7 +21,7 @@ class XrangeTest(unittest.TestCase):
|
|||
c = 50
|
||||
|
||||
self.assertEqual(list(xrange(a, a+2)), [a, a+1])
|
||||
self.assertEqual(list(xrange(a+2, a, -1L)), [a+2, a+1])
|
||||
self.assertEqual(list(xrange(a+2, a, -1)), [a+2, a+1])
|
||||
self.assertEqual(list(xrange(a+4, a, -2)), [a+4, a+2])
|
||||
|
||||
seq = list(xrange(a, b, c))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue