diff options
Diffstat (limited to 'Include/Python.h')
-rw-r--r-- | Include/Python.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h index d1ffc73..d3fce4b 100644 --- a/Include/Python.h +++ b/Include/Python.h @@ -118,6 +118,9 @@ #include "abstract.h" #define PyArg_GetInt(v, a) PyArg_Parse((v), "i", (a)) + +/* PyArg_NoArgs should not be necessary. + Set ml_flags in the PyMethodDef to METH_NOARGS. */ #define PyArg_NoArgs(v) PyArg_Parse(v, "") /* Convert a possibly signed character to a nonnegative int */ |