From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 21 Jan 2024 03:52:30 +0000 (+0100) Subject: [3.11] Fix the confusing "User-defined methods" reference in the datamodel (GH-114276... X-Git-Tag: v3.11.8~117 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3681effafb0d8ac3549a55aae5bc6134cbbd485f;p=thirdparty%2FPython%2Fcpython.git [3.11] Fix the confusing "User-defined methods" reference in the datamodel (GH-114276) (#114366) --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 1f9bb82c8db8..0419ee7e21a5 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1507,7 +1507,7 @@ Class method objects A class method object, like a static method object, is a wrapper around another object that alters the way in which that object is retrieved from classes and class instances. The behaviour of class method objects upon such retrieval is -described above, under "User-defined methods". Class method objects are created +described above, under :ref:`"instance methods" `. Class method objects are created by the built-in :func:`classmethod` constructor.