[Python-checkins] CVS: python/dist/src/Include Python.h,2.42,2.43

Neal Norwitz nnorwitz@users.sourceforge.net
Mon, 25 Mar 2002 12:46:47 -0800


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv25705/Include

Modified Files:
	Python.h 
Log Message:
Remove many uses of PyArg_NoArgs macro, change METH_OLDARGS to METH_NOARGS.


Index: Python.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/Python.h,v
retrieving revision 2.42
retrieving revision 2.43
diff -C2 -d -r2.42 -r2.43
*** Python.h	23 Mar 2002 10:03:50 -0000	2.42
--- Python.h	25 Mar 2002 20:46:45 -0000	2.43
***************
*** 119,122 ****
--- 119,125 ----
  
  #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, "")