Added third argument to call()

This commit is contained in:
Jack Jansen 1995-10-12 13:45:25 +00:00
parent 99bbd18067
commit 349a988ba7
2 changed files with 3 additions and 2 deletions

View File

@ -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 */

View File

@ -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 */
}