diff --git a/Tools/modulator/Templates/object_tail b/Tools/modulator/Templates/object_tail index 65d29d35b46..1d1334c9fe6 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 32a36154d8f..be4cc4bfa35 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 */ }