diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-12-09 16:22:32 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-12-09 16:22:32 +0100 |
commit | 26fbec2e01a2eeac7a59ea585f6fa35e175224de (patch) | |
tree | f5b247e6bbc643c08e745a7f40f88e58762a2cbc /Python/_warnings.c | |
parent | e29cd26d1dfebb2d8ba06fdad88223dec0762cba (diff) | |
download | cpython-26fbec2e01a2eeac7a59ea585f6fa35e175224de.tar.gz |
Use PyObject_CallFunctionObjArgs()
Issue #28915: Replace PyObject_CallFunction() with
PyObject_CallFunctionObjArgs() when the format string was only made of "O"
formats, PyObject* arguments.
PyObject_CallFunctionObjArgs() avoids the creation of a temporary tuple and
doesn't have to parse a format string.
Diffstat (limited to 'Python/_warnings.c')
0 files changed, 0 insertions, 0 deletions