diff options
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/modulator/Templates/object_tail | 2 | ||||
-rw-r--r-- | Tools/modulator/Templates/object_tp_call | 3 |
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 */ } |