SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 2 Python

Use _PyObject_CallMethodIdObjArgs()

Issue #28915: Replace _PyObject_CallMethodId() with
_PyObject_CallMethodIdObjArgs() in various modules when the format string was
only made of "O" formats, PyObject* arguments.

_PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and
doesn't have to parse a format string.
V
Victor Stinner committed
55ba38a48097e4b21b406cc617df1481727f5c25
Parent: 61bdb0d