From: Jack Jansen Date: Thu, 12 Oct 1995 13:45:25 +0000 (+0000) Subject: Added third argument to call() X-Git-Tag: v1.4b1~523 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=349a988ba72d24a0dacfe5e9ba082b86e997d119;p=thirdparty%2FPython%2Fcpython.git Added third argument to call() --- diff --git a/Tools/modulator/Templates/object_tail b/Tools/modulator/Templates/object_tail index 65d29d35b46c..1d1334c9fe62 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 32a36154d8fc..be4cc4bfa350 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 */ }