Added third argument to call()
This commit is contained in:
parent
99bbd18067
commit
349a988ba7
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue