mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
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>
This commit is contained in:
parent
52eade2223
commit
b04c5005cc
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue