summaryrefslogtreecommitdiff
path: root/Python/_warnings.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-12-09 16:22:32 +0100
committerVictor Stinner <victor.stinner@gmail.com>2016-12-09 16:22:32 +0100
commit26fbec2e01a2eeac7a59ea585f6fa35e175224de (patch)
treef5b247e6bbc643c08e745a7f40f88e58762a2cbc /Python/_warnings.c
parente29cd26d1dfebb2d8ba06fdad88223dec0762cba (diff)
downloadcpython-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