mirror of
https://github.com/python/cpython.git
synced 2025-07-19 09:15:34 +00:00
docs: Better comment for tp_as_async slot
This commit is contained in:
parent
87674ec7d5
commit
beaa5094a2
2 changed files with 4 additions and 2 deletions
|
@ -351,7 +351,8 @@ typedef struct _typeobject {
|
|||
printfunc tp_print;
|
||||
getattrfunc tp_getattr;
|
||||
setattrfunc tp_setattr;
|
||||
PyAsyncMethods *tp_as_async; /* formerly known as tp_compare or tp_reserved */
|
||||
PyAsyncMethods *tp_as_async; /* formerly known as tp_compare (Python 2)
|
||||
or tp_reserved (Python 3) */
|
||||
reprfunc tp_repr;
|
||||
|
||||
/* Method suites for standard classes */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue