mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
parent
8ef34600c7
commit
3bd9fde4df
1 changed files with 2 additions and 2 deletions
|
|
@ -29,8 +29,8 @@ __name__ = "collections.abc"
|
|||
# so that they will pass tests like:
|
||||
# it = iter(somebytearray)
|
||||
# assert isinstance(it, Iterable)
|
||||
# Note: in other implementations, these types many not be distinct
|
||||
# and they make have their own implementation specific types that
|
||||
# Note: in other implementations, these types might not be distinct
|
||||
# and they may have their own implementation specific types that
|
||||
# are not included on this list.
|
||||
bytes_iterator = type(iter(b''))
|
||||
bytearray_iterator = type(iter(bytearray()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue