https://github.com/python/cpython/commit/8ba72caf2644f749ad92a419e24ba95ebf8c9444
commit: 8ba72caf2644f749ad92a419e24ba95ebf8c9444
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2025-01-06T10:04:57Z
summary:

[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]>

files:
M Doc/library/collections.abc.rst

diff --git a/Doc/library/collections.abc.rst b/Doc/library/collections.abc.rst
index 0adbd305b468f4..850853346991b5 100644
--- a/Doc/library/collections.abc.rst
+++ b/Doc/library/collections.abc.rst
@@ -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__``,
@@ -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__``,

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to