[issue42826] typing.Iterable does not need __getitem__() method
Peter Pavlinič
report at bugs.python.org
Mon Jan 4 12:49:40 EST 2021
Peter Pavlinič <peter.pavlinic at trilogic.si> added the comment:
In documentation it is written that typing.Iterable can be implemented with __getitem__() method that implements Sequence semantics.
That is not correct. link:
/glossary.html#term-iterable
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42826>
_______________________________________
More information about the Python-bugs-list
mailing list