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 /Include | |
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 'Include')
-rw-r--r-- | Include/object.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h index 8afcbe9..4d286ef 100644 --- a/Include/object.h +++ b/Include/object.h @@ -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 */ |