diff Include/Python.h @ 22561:043ad7adc896 legacy-trunk

Remove many uses of PyArg_NoArgs macro, change METH_OLDARGS to METH_NOARGS.
author Neal Norwitz <nnorwitz@gmail.com>
date Mon, 25 Mar 2002 20:46:46 +0000
parents fb45791150d1
children aedda0abd313
line wrap: on
line diff
--- a/Include/Python.h	Mon Mar 25 20:22:59 2002 +0000
+++ b/Include/Python.h	Mon Mar 25 20:46:46 2002 +0000
@@ -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 */