• Victor Stinner's avatar
    Use _PyObject_CallMethodIdObjArgs() · 7e42541d
    Victor Stinner yazdı
    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.
    7e42541d
sysmodule.c 70.8 KB