diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/objimpl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h index 649d1bc..5707e50 100644 --- a/Include/objimpl.h +++ b/Include/objimpl.h @@ -302,7 +302,11 @@ PyAPI_FUNC(void) PyObject_GC_Del(void *); ( (type *) _PyObject_GC_NewVar((typeobj), (n)) ) -/* Utility macro to help write tp_traverse functions */ +/* Utility macro to help write tp_traverse functions. + * To use this macro, the tp_traverse function must name its arguments + * "visit" and "arg". This is intended to keep tp_traverse functions + * looking as much alike as possible. + */ #define Py_VISIT(op) \ do { \ if (op) { \ |