mirror of
https://github.com/python/cpython.git
synced 2025-10-01 04:42:10 +00:00
Merge from 3.6.
This commit is contained in:
commit
1d56113ed7
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