summaryrefslogtreecommitdiffstats
path: root/Tools/modulator/Templates/module_method
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-12-27 23:35:43 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-12-27 23:35:43 (GMT)
commit9aaee933da8ce390c8c34fc227054b2651264368 (patch)
tree6ae5e879867bf1977da12f9bf050366c2f5087ca /Tools/modulator/Templates/module_method
parentb9526515b7303e9d09a67f8438902ff01a55abc4 (diff)
downloadcpython-9aaee933da8ce390c8c34fc227054b2651264368.zip
cpython-9aaee933da8ce390c8c34fc227054b2651264368.tar.gz
cpython-9aaee933da8ce390c8c34fc227054b2651264368.tar.bz2
Patches by Jens B. Jorgensen with small mods by me:
- Converted the templates to use ANSI C prototypes (finally!) - Use re in stead of deprecated regex
Diffstat (limited to 'Tools/modulator/Templates/module_method')
-rw-r--r--Tools/modulator/Templates/module_method4
1 files changed, 1 insertions, 3 deletions
diff --git a/Tools/modulator/Templates/module_method b/Tools/modulator/Templates/module_method
index 9e6c0d2..3048b1f 100644
--- a/Tools/modulator/Templates/module_method
+++ b/Tools/modulator/Templates/module_method
@@ -4,9 +4,7 @@ static char $abbrev$_$method$__doc__[] =
;
static PyObject *
-$abbrev$_$method$(self, args)
- PyObject *self; /* Not used */
- PyObject *args;
+$abbrev$_$method$(PyObject *self /* Not used */, PyObject *args)
{
if (!PyArg_ParseTuple(args, ""))