]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added third argument to call()
authorJack Jansen <jack.jansen@cwi.nl>
Thu, 12 Oct 1995 13:45:25 +0000 (13:45 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Thu, 12 Oct 1995 13:45:25 +0000 (13:45 +0000)
Tools/modulator/Templates/object_tail
Tools/modulator/Templates/object_tp_call

index 65d29d35b46c8df9f0a706c6da7673faa383399a..1d1334c9fe62594147e6d1a789cb8f796e4f9b82 100644 (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 */
index 32a36154d8fc75b78d901123481fcaf4f929ab29..be4cc4bfa35025998a1dac37eaf2bccde9822923 100644 (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 */
 }