diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-12-09 00:36:19 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-12-09 00:36:19 +0100 |
commit | 7e42541d08b6cc103b892c1cb70ea68c66751078 (patch) | |
tree | 082013fb3c953cb156f6591cbc3bcca6db787ca8 /Python/graminit.c | |
parent | 4c38154a432885a933b539c2682e66caaf440117 (diff) | |
download | cpython-git-7e42541d08b6cc103b892c1cb70ea68c66751078.tar.gz |
Use _PyObject_CallMethodIdObjArgs()
Issue #28915: Replace _PyObject_CallMethodId() with
_PyObject_CallMethodIdObjArgs() when the format string only use the format 'O'
for objects, like "(O)".
_PyObject_CallMethodIdObjArgs() avoids the code to parse a format string and
avoids the creation of a temporary tuple.
Diffstat (limited to 'Python/graminit.c')
0 files changed, 0 insertions, 0 deletions