Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-85572: Remove references to nonexisting __ne__ methods#21628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
serhiy-storchaka wants to merge1 commit intopython:main
base:main
Choose a base branch
Loading
fromserhiy-storchaka:docs-__ne__
Open
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletionsDoc/library/collections.abc.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -61,7 +61,7 @@ ABC Inherits from Abstract Methods Mixin
:class:`ByteString` :class:`Sequence` ``__getitem__``, Inherited :class:`Sequence` methods
``__len__``

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

Expand All@@ -72,7 +72,7 @@ ABC Inherits from Abstract Methods Mixin
``discard``

:class:`Mapping` :class:`Collection` ``__getitem__``, ``__contains__``, ``keys``, ``items``, ``values``,
``__iter__``, ``get``,``__eq__``,and ``__ne__``
``__iter__``, ``get``, and ``__eq__``
``__len__``

:class:`MutableMapping` :class:`Mapping` ``__getitem__``, Inherited :class:`Mapping` methods and
Expand Down
6 changes: 0 additions & 6 deletionsDoc/library/email.charset.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -158,12 +158,6 @@ Import this class from the :mod:`email.charset` module.
This method allows you to compare two :class:`Charset` instances for
equality.


.. method:: __ne__(other)

This method allows you to compare two :class:`Charset` instances for
inequality.

The :mod:`email.charset` module also provides the following functions for adding
new entries to the global character set, alias, and codec registries:

Expand Down
6 changes: 0 additions & 6 deletionsDoc/library/email.header.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -164,12 +164,6 @@ Here is the :class:`Header` class description:
This method allows you to compare two :class:`Header` instances for
equality.


.. method:: __ne__(other)

This method allows you to compare two :class:`Header` instances for
inequality.

The :mod:`email.header` module also provides the following convenient functions.


Expand Down
2 changes: 1 addition & 1 deletionDoc/library/xmlrpc.client.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -339,7 +339,7 @@ Binary Objects
XML-RPC spec was written.

It also supports certain of Python's built-in operators through :meth:`__eq__`
and :meth:`__ne__` methods.
method.

Example usage of the binary objects. We're going to transfer an image over
XMLRPC::
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp