https://github.com/python/cpython/commit/1812162f81ef034616294ec9ee53e951f99c9582
commit: 1812162f81ef034616294ec9ee53e951f99c9582
branch: main
author: Jonathan Dung <[email protected]>
committer: rhettinger <[email protected]>
date: 2026-06-26T18:27:47-05:00
summary:
Remove commented out code
files:
M Lib/_collections_abc.py
diff --git a/Lib/_collections_abc.py b/Lib/_collections_abc.py
index 0e1d8ccf44a435..24d08605429d34 100644
--- a/Lib/_collections_abc.py
+++ b/Lib/_collections_abc.py
@@ -67,7 +67,6 @@ def _f(): pass
# are not included on this list.
bytes_iterator = type(iter(b''))
bytearray_iterator = type(iter(bytearray()))
-#callable_iterator = ???
dict_keyiterator = type(iter({}.keys()))
dict_valueiterator = type(iter({}.values()))
dict_itemiterator = type(iter({}.items()))
@@ -319,7 +318,6 @@ def __subclasshook__(cls, C):
Iterator.register(bytes_iterator)
Iterator.register(bytearray_iterator)
-#Iterator.register(callable_iterator)
Iterator.register(dict_keyiterator)
Iterator.register(dict_valueiterator)
Iterator.register(dict_itemiterator)
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]