aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-10-12 00:42:23 +0200
committerGitHub <noreply@github.com>2021-10-12 00:42:23 +0200
commitce3489cfdb9f0e050bdc45ce5d3902c2577ea683 (patch)
tree2493f172e9eddadbd5ca53cb810ddd4971bbcef3 /Python/sysmodule.c
parentfb8f208a4ddb38eedee71f9ecd0f22058802dab1 (diff)
downloadcpython-ce3489cfdb9f0e050bdc45ce5d3902c2577ea683.tar.gz
cpython-ce3489cfdb9f0e050bdc45ce5d3902c2577ea683.zip
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 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index f2cd3a9d5a0..0154af0b76f 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -1676,7 +1676,7 @@ _PySys_GetSizeOf(PyObject *o)
}
}
else {
- res = _PyObject_CallNoArg(method);
+ res = _PyObject_CallNoArgs(method);
Py_DECREF(method);
}