summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorcdzhan <zhancdi@163.com>2024-01-21 03:45:38 (GMT)
committerGitHub <noreply@github.com>2024-01-21 03:45:38 (GMT)
commitb04c5005cc9bd04052075077f7b33beca5edf43d (patch)
treeace749b3f26f101cac8fe611097850a1d9c9094e /Doc
parent52eade22237eef1f3843271b9aa8ff007e2b0176 (diff)
downloadcpython-b04c5005cc9bd04052075077f7b33beca5edf43d.zip
cpython-b04c5005cc9bd04052075077f7b33beca5edf43d.tar.gz
cpython-b04c5005cc9bd04052075077f7b33beca5edf43d.tar.bz2
Fix the confusing "User-defined methods" reference in the datamodel (#114276)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/reference/datamodel.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index ca29a37..0a1c1d5 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1529,7 +1529,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" <instance-methods>`. Class method objects are created
by the built-in :func:`classmethod` constructor.