diff options
author | Andre Delfino <adelfino@gmail.com> | 2020-12-01 09:45:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-01 09:45:11 (GMT) |
commit | bc662c0bd7def052e9edbf504bb468860c83f371 (patch) | |
tree | 43907e3620dbfed240ecf9fc8af3c14268af4134 | |
parent | 80a429eae95c15c2c2a6753376f2697c90c2b6b9 (diff) | |
download | cpython-bc662c0bd7def052e9edbf504bb468860c83f371.zip cpython-bc662c0bd7def052e9edbf504bb468860c83f371.tar.gz cpython-bc662c0bd7def052e9edbf504bb468860c83f371.tar.bz2 |
[doc] Fix abc.update_abstractmethods markup (GH-23576)
Add link to ABCMeta while at it.
-rw-r--r-- | Doc/library/abc.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/abc.rst b/Doc/library/abc.rst index 3a7414d..1a6ed47 100644 --- a/Doc/library/abc.rst +++ b/Doc/library/abc.rst @@ -336,6 +336,7 @@ The :mod:`abc` module also provides the following functions: .. versionadded:: 3.4 .. function:: update_abstractmethods(cls) + A function to recalculate an abstract class's abstraction status. This function should be called if a class's abstract methods have been implemented or changed after it was created. Usually, this function should @@ -343,7 +344,7 @@ The :mod:`abc` module also provides the following functions: Returns *cls*, to allow usage as a class decorator. - If *cls* is not an instance of ABCMeta, does nothing. + If *cls* is not an instance of :class:`ABCMeta`, does nothing. .. note:: |