Skip to content

Commit 5768fef

Browse files
aiskwillingc
andauthored
gh-114990: Add missing mixin methods in collections.abc's document (GH-114991)
Co-authored-by: Carol Willing <[email protected]>
1 parent 60c415b commit 5768fef

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
@@ -143,7 +143,8 @@ ABC Inherits from Abstract Methods Mi
143143

144144
:class:`Set` :class:`Collection` ``__contains__``, ``__le__``, ``__lt__``, ``__eq__``, ``__ne__``,
145145
``__iter__``, ``__gt__``, ``__ge__``, ``__and__``, ``__or__``,
146-
``__len__`` ``__sub__``, ``__xor__``, and ``isdisjoint``
146+
``__len__`` ``__sub__``, ``__rsub__``, ``__xor__``, ``__rxor__``
147+
and ``isdisjoint``
147148

148149
:class:`MutableSet` :class:`Set` ``__contains__``, Inherited :class:`Set` methods and
149150
``__iter__``, ``clear``, ``pop``, ``remove``, ``__ior__``,
@@ -162,7 +163,7 @@ ABC Inherits from Abstract Methods Mi
162163
``__len__``
163164

164165

165-
:class:`MappingView` :class:`Sized` ``__len__``
166+
:class:`MappingView` :class:`Sized` ``__init__``, ``__len__`` and ``__repr__``
166167
:class:`ItemsView` :class:`MappingView`, ``__contains__``,
167168
:class:`Set` ``__iter__``
168169
:class:`KeysView` :class:`MappingView`, ``__contains__``,

0 commit comments

Comments
 (0)