New submission from Yahya Abou Imran <yahya-abou-im...@protonmail.com>:
Opened after https://github.com/python/cpython/pull/5270 was closed. Here: https://docs.python.org/3/library/collections.abc.html Some abstract methods are inherited from a superclass. Most of the time the name of the method is mentioned in the subclass. For example: Collection inherit from Sized, Iterable and Contains. But __len__, __iter__ and __contains__ are mentioned, even if they are inherited. Mapping inherits from Collection, but __len__ and __iter__ appears in the table There is one exception: Coroutine. It inherits from Awaitable but we don't see __await__. What would we do? Let all appear or not? ---------- messages: 310422 nosy: yahya-abou-imran priority: normal severity: normal status: open title: Problem of consistence in collection.abc documentation type: enhancement versions: Python 3.6, Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32621> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com