diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-12-06 18:46:19 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-12-06 18:46:19 +0100 |
commit | a95a307d2cbb7fc1c778691f142e0c21c05fd5bc (patch) | |
tree | ad6414ad4a6b87daa31bd39654bbbee776488550 /Python/sysmodule.c | |
parent | b729181a504b6aff2461dcbc07c33e902ee90cb0 (diff) | |
download | cpython-a95a307d2cbb7fc1c778691f142e0c21c05fd5bc.tar.gz |
Use _PyObject_CallNoArg()
Replace:
PyObject_CallFunctionObjArgs(callable, NULL)
with:
_PyObject_CallNoArg(callable)
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 416a02b546..1537313b43 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -1098,7 +1098,7 @@ _PySys_GetSizeOf(PyObject *o) Py_TYPE(o)->tp_name); } else { - res = PyObject_CallFunctionObjArgs(method, NULL); + res = _PyObject_CallNoArg(method); Py_DECREF(method); } |