[New-bugs-announce] [issue32621] Problem of consistence in collection.abc documentation
Yahya Abou Imran
report at bugs.python.org
Mon Jan 22 09:28:36 EST 2018
New submission from Yahya Abou Imran <yahya-abou-imran at 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 <report at bugs.python.org>
<https://bugs.python.org/issue32621>
_______________________________________
More information about the New-bugs-announce
mailing list