summaryrefslogtreecommitdiffstats
path: root/Tools/modulator/Templates
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-10-12 13:45:25 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-10-12 13:45:25 (GMT)
commit349a988ba72d24a0dacfe5e9ba082b86e997d119 (patch)
treedf68245d144fcece76a053ff54e905f8bcb5925f /Tools/modulator/Templates
parent99bbd18067083380b13a153c52fe342dbff21bc5 (diff)
downloadcpython-349a988ba72d24a0dacfe5e9ba082b86e997d119.zip
cpython-349a988ba72d24a0dacfe5e9ba082b86e997d119.tar.gz
cpython-349a988ba72d24a0dacfe5e9ba082b86e997d119.tar.bz2
Added third argument to call()
Diffstat (limited to 'Tools/modulator/Templates')
-rw-r--r--Tools/modulator/Templates/object_tail2
-rw-r--r--Tools/modulator/Templates/object_tp_call3
2 files changed, 3 insertions, 2 deletions
diff --git a/Tools/modulator/Templates/object_tail b/Tools/modulator/Templates/object_tail
index 65d29d3..1d1334c 100644
--- a/Tools/modulator/Templates/object_tail
+++ b/Tools/modulator/Templates/object_tail
@@ -20,7 +20,7 @@ static PyTypeObject $Abbrev$type = {
$tp_as_sequence$, /*tp_as_sequence*/
$tp_as_mapping$, /*tp_as_mapping*/
(hashfunc)$tp_hash$, /*tp_hash*/
- (binaryfunc)$tp_call$, /*tp_call*/
+ (ternaryfunc)$tp_call$, /*tp_call*/
(reprfunc)$tp_str$, /*tp_str*/
/* Space for future expansion */
diff --git a/Tools/modulator/Templates/object_tp_call b/Tools/modulator/Templates/object_tp_call
index 32a3615..be4cc4b 100644
--- a/Tools/modulator/Templates/object_tp_call
+++ b/Tools/modulator/Templates/object_tp_call
@@ -1,8 +1,9 @@
static PyObject *
-$abbrev$_call(self, args)
+$abbrev$_call(self, args, kwargs)
$abbrev$object *self;
PyObject *args;
+ PyObject *kwargs;
{
/* XXXX Return the result of calling self with argument args */
}