From ab4e33110c6c3ef23179e85916dd840f1ce63298 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Delfino?= Date: Mon, 30 Nov 2020 21:03:19 -0300 Subject: [PATCH 1/2] Fix abc.update_abstractmethods markup --- Doc/library/abc.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/library/abc.rst b/Doc/library/abc.rst index 3a7414d7358e7a..c9d68c3facc914 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 From bc473eda951f577d489caa245796c4b54e0734d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Delfino?= Date: Mon, 30 Nov 2020 21:05:43 -0300 Subject: [PATCH 2/2] Link to ABCMeta --- Doc/library/abc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/abc.rst b/Doc/library/abc.rst index c9d68c3facc914..1a6ed474ff21da 100644 --- a/Doc/library/abc.rst +++ b/Doc/library/abc.rst @@ -344,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::