8000 bpo-41905: added abc.update_abstractmethods by bentheiii · Pull Request #22485 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-41905: added abc.update_abstractmethods #22485

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Oct 6, 2020
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update Doc/library/abc.rst
Co-authored-by: Guido van Rossum <guido@python.org>
  • Loading branch information
bentheiii and gvanrossum authored Oct 5, 2020
commit eea97f4b3b7eae44b2b5e23a90822cdf7eb17cfd
7 changes: 1 addition & 6 deletions Doc/library/abc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -345,15 +345,10 @@ The :mod:`abc` module also provides the following functions:

If *cls* is not an instance of ABCMeta, does nothing.

.. note::

This function ignores whatever subclasses *cls* might have. This means
that if the decorator itself creates subclasses to *cls*, it must also
call *update_abstractmethods* on each of them.

.. note::

This function assumes that *cls*'s superclasses are already updated.
It does not update any subclasses.

.. versionadded:: 3.10

Expand Down
0