Skip to content
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
doc fixes
  • Loading branch information
ben avrahami committed Oct 4, 2020
commit 779e6cfa6572573894ccd03249f02a3bcbed1843
10 changes: 6 additions & 4 deletions Doc/library/abc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,13 @@ The :mod:`abc` module also provides the following functions:

.. note::

Since it is meant to be called before the class is used by anywhere but
in the decorator that called it, this function assumes that *cls* has no
subclasses. This means that if the decorator itself creates subclasses
to *cls*, it must also call *update_abstractmethods* on each of them.
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.

.. versionadded:: 3.10

Expand Down