diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/_collections_abc.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/_collections_abc.py b/Lib/_collections_abc.py index e309655..ee7d0f1 100644 --- a/Lib/_collections_abc.py +++ b/Lib/_collections_abc.py @@ -41,6 +41,7 @@ dict_itemiterator = type(iter({}.items())) list_iterator = type(iter([])) list_reverseiterator = type(iter(reversed([]))) range_iterator = type(iter(range(0))) +longrange_iterator = type(iter(range(1 << 1000))) set_iterator = type(iter(set())) str_iterator = type(iter("")) tuple_iterator = type(iter(())) @@ -225,6 +226,7 @@ Iterator.register(dict_itemiterator) Iterator.register(list_iterator) Iterator.register(list_reverseiterator) Iterator.register(range_iterator) +Iterator.register(longrange_iterator) Iterator.register(set_iterator) Iterator.register(str_iterator) Iterator.register(tuple_iterator) |