mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Added third argument to call()
This commit is contained in:
parent
99bbd18067
commit
349a988ba7
2 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue