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

2021-01-04 Thread Peter Pavlinič
Peter Pavlinič 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

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

2021-01-04 Thread Peter Pavlinič
Peter Pavlinič 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: https://docs.python.org/3.79/glossary.html#term-iterable -- title: typing.Iterable does

[issue42826] typing.Iterable does not need__getitem__() method

2021-01-04 Thread Peter Pavlinič
New submission from Peter Pavlinič : https://docs.python.org/3.10/glossary.html#term-iterable -- assignee: docs@python components: Documentation messages: 384334 nosy: docs@python, peter.pavlinic priority: normal severity: normal status: open title: typing.Iterable does not