cpython: a8d35309dcc0 (original) (raw)

Mercurial > cpython

changeset 106217:a8d35309dcc0

PyCFunction_Call() now calls _PyCFunction_FastCallDict() Issue #29259. We had 3 versions of similar code: * PyCFunction_Call() * _PyCFunction_FastCallDict() * _PyCFunction_FastCallKeywords() PyCFunction_Call() now calls _PyCFunction_FastCallDict() to factorize the code. [#29259]

Victor Stinner victor.stinner@gmail.com
date Wed, 18 Jan 2017 14:04:37 +0100
parents a241817424e5
children ee6e1b1151a8
files Objects/methodobject.c
diffstat 1 files changed, 5 insertions(+), 70 deletions(-)[+] [-] Objects/methodobject.c 75

line wrap: on

line diff

--- a/Objects/methodobject.c +++ b/Objects/methodobject.c @@ -78,77 +78,12 @@ PyCFunction_GetFlags(PyObject *op) } PyObject * -PyCFunction_Call(PyObject *func, PyObject *args, PyObject *kwds) +PyCFunction_Call(PyObject *func, PyObject *args, PyObject *kwargs) {

-

-

-

-

-

-

-

-

-

-

} PyObject *