[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
- Previous message: [Python-checkins] CVS: python/dist/src/Doc/lib libre.tex,1.80,1.81
- Next message: [Python-checkins] CVS: python/dist/src/Modules _curses_panel.c,1.10,1.11 _localemodule.c,2.26,2.27 bsddbmodule.c,1.32,1.33 md5module.c,2.27,2.28 pwdmodule.c,1.28,1.29 readline.c,2.45,2.46 signalmodule.c,2.63,2.64 threadmodule.c,2.44,2.45
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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, "")
- Previous message: [Python-checkins] CVS: python/dist/src/Doc/lib libre.tex,1.80,1.81
- Next message: [Python-checkins] CVS: python/dist/src/Modules _curses_panel.c,1.10,1.11 _localemodule.c,2.26,2.27 bsddbmodule.c,1.32,1.33 md5module.c,2.27,2.28 pwdmodule.c,1.28,1.29 readline.c,2.45,2.46 signalmodule.c,2.63,2.64 threadmodule.c,2.44,2.45
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]