Josh Rosenberg <shadowranger+pyt...@gmail.com> added the comment:

As Serhiy says, the glossary term for an iterable is not the same as the 
documentation for typing.Iterable (which at this point is largely defined in 
terms of collections.abc.Iterable). True, collections.abc.Iterable does not 
detect classes that iterate via __getitem__, only via __iter__ (the docs are 
quite clear on this), but such __getitem__ based classes are still iterable in 
the broad sense of the term used in the glossary.

----------
nosy: +josh.r
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42826>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to