8000 gh-114990: Add missing mixin methods in collections.abc's document · aisk/cpython@c3c6ce6 · GitHub
[go: up one dir, main page]

Skip to content

Commit c3c6ce6

Browse files
committed
pythongh-114990: Add missing mixin methods in collections.abc's document
1 parent 80734a6 commit c3c6ce6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/collections.abc.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ ABC Inherits from Abstract Methods Mi
146146

147147
:class:`Set` :class:`Collection` ``__contains__``, ``__le__``, ``__lt__``, ``__eq__``, ``__ne__``,
148148
``__iter__``, ``__gt__``, ``__ge__``, ``__and__``, ``__or__``,
149-
``__len__`` ``__sub__``, ``__xor__``, and ``isdisjoint``
149+
``__len__`` ``__sub__``, ``__rsub__``, ``__xor__``, ``__rxor__``
150+
and ``isdisjoint``
150151

151152
:class:`MutableSet` :class:`Set` ``__contains__``, Inherited :class:`Set` methods and
152153
``__iter__``, ``clear``, ``pop``, ``remove``, ``__ior__``,
@@ -165,7 +166,7 @@ ABC Inherits from Abstract Methods Mi
165166
``__len__``
166167

167168

168-
:class:`MappingView` :class:`Sized` ``__len__``
169+
:class:`MappingView` :class:`Sized` ``__init__``, ``__len__`` and ``__repr__``
169170
:class:`ItemsView` :class:`MappingView`, ``__contains__``,
170171
:class:`Set` ``__iter__``
171172
:class:`KeysView` :class:`MappingView`, ``__contains__``,

0 commit comments

Comments
 (0)
0