mirror of https://github.com/python/cpython
parent
8ef34600c7
commit
3bd9fde4df
|
@ -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…
Reference in New Issue