• Victor Stinner's avatar
    Use _PyObject_CallMethodIdObjArgs() in _datetime · 20401dea
    Victor Stinner yazdı
    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.
    20401dea
_datetimemodule.c 193 KB