Skip to content

Commit 8ba72ca

Browse files
miss-islingtonaiskwillingc
authored
[3.12] gh-114990: Add missing mixin methods in collections.abc's document (GH-114991) (#128536)
Co-authored-by: AN Long <[email protected]> Co-authored-by: Carol Willing <[email protected]>
1 parent f9aac4a commit 8ba72ca

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)