mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-89189: More compact range iterator (GH-27986)
This commit is contained in:
parent
9628136fac
commit
787764219f
7 changed files with 88 additions and 50 deletions
|
@ -1484,7 +1484,8 @@ class SizeofTest(unittest.TestCase):
|
|||
# PyCapsule
|
||||
# XXX
|
||||
# rangeiterator
|
||||
check(iter(range(1)), size('4l'))
|
||||
check(iter(range(1)), size('3l'))
|
||||
check(iter(range(2**65)), size('3P'))
|
||||
# reverse
|
||||
check(reversed(''), size('nP'))
|
||||
# range
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue