[New-bugs-announce] [issue47122] Fix the table of methods in the collections.abc documentation

Géry report at bugs.python.org
Fri Mar 25 14:24:12 EDT 2022


New submission from Géry <gery.ogam at gmail.com>:

This pull request makes the following changes to the table of methods in the [`collections.abc` documentation](https://docs.python.org/3/library/collections.abc.html):

- `Reversible`: add `__iter__` abstract method;
- `Generator`: replace `__iter__` with inherited mixin `Iterator` methods;
- `MutableSequence`: add clear mixin method;
- `Set`: remove `__ne__` mixin method (not defined here but in `object`), add `__rand__` mixin method, add `__ror__` mixin method, add `__rsub__` mixin method, add `__rxor__` mixin method;
- `Mapping`: remove `__ne__` mixin method (not defined here but in `object`);
- `ItemsView`: add inherited mixin `MappingView` method and inherited mixin `Set` methods;
- `KeysView`: add inherited mixin `MappingView` method and inherited mixin `Set` methods;
- `ValuesView`: add inherited mixin `MappingView` method;
- `Coroutine`: add `__await__` abstract method;
- `AsyncGenerator`: replace `__aiter__` with inherited mixin `AsyncIterator` methods;
- footnotes: remove footnote 2 which is a duplicate of [the description of `collections.abc.Iterable`](https://docs.python.org/3/library/collections.abc.html#collections.abc.Iterable).

----------
assignee: docs at python
components: Documentation
messages: 416013
nosy: docs at python, maggyero
priority: normal
pull_requests: 30195
severity: normal
status: open
title: Fix the table of methods in the collections.abc documentation
type: enhancement
versions: Python 3.10, Python 3.11, Python 3.9

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


More information about the New-bugs-announce mailing list