diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-08-26 17:03:57 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-08-26 17:03:57 (GMT) |
commit | beaa5094a2ad4cdcbfb463c2037fad5f8da43e68 (patch) | |
tree | 2d63c835527644b9a8ec1b0c92b3e35e8a9893ae /Doc/includes | |
parent | 87674ec7d51eb99586231fbd6469b10d1f4fa111 (diff) | |
download | cpython-beaa5094a2ad4cdcbfb463c2037fad5f8da43e68.zip cpython-beaa5094a2ad4cdcbfb463c2037fad5f8da43e68.tar.gz cpython-beaa5094a2ad4cdcbfb463c2037fad5f8da43e68.tar.bz2 |
docs: Better comment for tp_as_async slot
Diffstat (limited to 'Doc/includes')
-rw-r--r-- | Doc/includes/typestruct.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/includes/typestruct.h b/Doc/includes/typestruct.h index 50c4621..9f47899 100644 --- a/Doc/includes/typestruct.h +++ b/Doc/includes/typestruct.h @@ -9,7 +9,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 */ |