diff options
author | Victor Stinner <vstinner@python.org> | 2021-10-11 22:42:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-11 22:42:23 (GMT) |
commit | ce3489cfdb9f0e050bdc45ce5d3902c2577ea683 (patch) | |
tree | 2493f172e9eddadbd5ca53cb810ddd4971bbcef3 /Objects/genobject.c | |
parent | fb8f208a4ddb38eedee71f9ecd0f22058802dab1 (diff) | |
download | cpython-ce3489cfdb9f0e050bdc45ce5d3902c2577ea683.zip cpython-ce3489cfdb9f0e050bdc45ce5d3902c2577ea683.tar.gz cpython-ce3489cfdb9f0e050bdc45ce5d3902c2577ea683.tar.bz2 |
bpo-45439: Rename _PyObject_CallNoArg() to _PyObject_CallNoArgs() (GH-28891)
Fix typo in the private _PyObject_CallNoArg() function name: rename
it to _PyObject_CallNoArgs() to be consistent with the public
function PyObject_CallNoArgs().
Diffstat (limited to 'Objects/genobject.c')
-rw-r--r-- | Objects/genobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c index 8bd6c8d..8fa04e8 100644 --- a/Objects/genobject.c +++ b/Objects/genobject.c @@ -319,7 +319,7 @@ gen_close_iter(PyObject *yf) PyErr_WriteUnraisable(yf); } if (meth) { - retval = _PyObject_CallNoArg(meth); + retval = _PyObject_CallNoArgs(meth); Py_DECREF(meth); if (retval == NULL) return -1; |