mirror of
https://github.com/python/cpython.git
synced 2025-09-03 15:31:08 +00:00
[3.12] Fix the confusing "User-defined methods" reference in the datamodel (GH-114276) (#114365)
This commit is contained in:
parent
48bff74590
commit
f7d5d936ab
1 changed files with 1 additions and 1 deletions
|
@ -1524,7 +1524,7 @@ Class method objects
|
||||||
A class method object, like a static method object, is a wrapper around another
|
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
|
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
|
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.
|
by the built-in :func:`classmethod` constructor.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue