mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Fix role usage.
This commit is contained in:
parent
e78370050b
commit
69aabc0301
1 changed files with 1 additions and 1 deletions
|
|
@ -2531,7 +2531,7 @@ Instance Method Objects
|
|||
|
||||
An instance method is a wrapper for a :cdata:`PyCFunction` and the new way
|
||||
to bind a :cdata:`PyCFunction` to a class object. It replaces the former call
|
||||
:cfunc:`PyMethod_New(func, NULL, class)`.
|
||||
``PyMethod_New(func, NULL, class)``.
|
||||
|
||||
|
||||
.. cvar:: PyTypeObject PyInstanceMethod_Type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue