[doc] Fix abc.update_abstractmethods markup (GH-23576)
Add link to ABCMeta while at it.
This commit is contained in:
parent
80a429eae9
commit
bc662c0bd7
|
@ -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::
|
||||
|
||||
|
|
Loading…
Reference in New Issue