summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-01-21 03:52:04 (GMT)
committerGitHub <noreply@github.com>2024-01-21 03:52:04 (GMT)
commitf7d5d936ab9340552470129aee94e546b1a77a95 (patch)
tree350f667c76e588d9e3f296bba9eb84062fc90696 /Doc/reference
parent48bff745907e6a655ee915132cd81442f6b3d45f (diff)
downloadcpython-f7d5d936ab9340552470129aee94e546b1a77a95.zip
cpython-f7d5d936ab9340552470129aee94e546b1a77a95.tar.gz
cpython-f7d5d936ab9340552470129aee94e546b1a77a95.tar.bz2
[3.12] Fix the confusing "User-defined methods" reference in the datamodel (GH-114276) (#114365)
Diffstat (limited to 'Doc/reference')
-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 03dc1d6..fcb65b8 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1524,7 +1524,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.