[issue42826] typing.Iterable does not need __getitem__() method

Serhiy Storchaka report at bugs.python.org
Mon Jan 4 14:53:19 EST 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I do not know how is it related to typing.Iterable and I have not found any mention of typing.Iterable on the provided link, but an iterable object can be implemented with __getitem__ method.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42826>
_______________________________________


More information about the Python-bugs-list mailing list