diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-12-09 14:24:31 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-12-09 14:24:31 (GMT) |
commit | 20401deae219ed38e8a7e9f960ef3b0dc3850dce (patch) | |
tree | c241e56210bc8731671e2c77ebd590e5d41d370d /PC | |
parent | f561634c82aaeb3aa60dcd2f1e2878f998d9f501 (diff) | |
download | cpython-20401deae219ed38e8a7e9f960ef3b0dc3850dce.zip cpython-20401deae219ed38e8a7e9f960ef3b0dc3850dce.tar.gz cpython-20401deae219ed38e8a7e9f960ef3b0dc3850dce.tar.bz2 |
Use _PyObject_CallMethodIdObjArgs() in _datetime
Issue #28915: Replace _PyObject_CallMethodId() with
_PyObject_CallMethodIdObjArgs() 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.
Diffstat (limited to 'PC')
0 files changed, 0 insertions, 0 deletions