Skip to content

Commit

Permalink
pythongh-114990: Add missing mixin methods in collections.abc's docum…
Browse files Browse the repository at this point in the history
…ent (pythonGH-114991)

(cherry picked from commit 5768fef)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
  • Loading branch information
2 people authored and miss-islington committed Jan 6, 2025
1 parent 9c5a86d commit 45bfa2c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Doc/library/collections.abc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ ABC Inherits from Abstract Methods Mi

:class:`Set` :class:`Collection` ``__contains__``, ``__le__``, ``__lt__``, ``__eq__``, ``__ne__``,
``__iter__``, ``__gt__``, ``__ge__``, ``__and__``, ``__or__``,
``__len__`` ``__sub__``, ``__xor__``, and ``isdisjoint``
``__len__`` ``__sub__``, ``__rsub__``, ``__xor__``, ``__rxor__``
and ``isdisjoint``

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


:class:`MappingView` :class:`Sized` ``__len__``
:class:`MappingView` :class:`Sized` ``__init__``, ``__len__`` and ``__repr__``
:class:`ItemsView` :class:`MappingView`, ``__contains__``,
:class:`Set` ``__iter__``
:class:`KeysView` :class:`MappingView`, ``__contains__``,
Expand Down

0 comments on commit 45bfa2c

Please # to comment.