commit | 7e42541d08b6cc103b892c1cb70ea68c66751078 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri Dec 09 00:36:19 2016 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Fri Dec 09 00:36:19 2016 +0100 |
tree | 082013fb3c953cb156f6591cbc3bcca6db787ca8 | |
parent | 4c38154a432885a933b539c2682e66caaf440117 [diff] |
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.