Skip to content

Commit 2b8af64

Browse files
cdzhanAA-Turnerskirpichev
authored andcommitted
Fix the confusing "User-defined methods" reference in the datamodel (pythonGH-114276)
(cherry picked from commit b04c500) Co-authored-by: cdzhan <[email protected]> Co-authored-by: Adam Turner <[email protected]> Co-authored-by: Sergey B Kirpichev <[email protected]>
1 parent 48bff74 commit 2b8af64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1524,7 +1524,7 @@ Class method objects
15241524
A class method object, like a static method object, is a wrapper around another
15251525
object that alters the way in which that object is retrieved from classes and
15261526
class instances. The behaviour of class method objects upon such retrieval is
1527-
described above, under "User-defined methods". Class method objects are created
1527+
described above, under :ref:`"instance methods" <instance-methods>`. Class method objects are created
15281528
by the built-in :func:`classmethod` constructor.
15291529

15301530

0 commit comments

Comments
 (0)