diff options
| author | Victor Stinner <vstinner@python.org> | 2021-10-12 00:42:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-12 00:42:23 +0200 |
| commit | ce3489cfdb9f0e050bdc45ce5d3902c2577ea683 (patch) | |
| tree | 2493f172e9eddadbd5ca53cb810ddd4971bbcef3 /Modules/_functoolsmodule.c | |
| parent | fb8f208a4ddb38eedee71f9ecd0f22058802dab1 (diff) | |
| download | cpython-git-ce3489cfdb9f0e050bdc45ce5d3902c2577ea683.tar.gz | |
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 'Modules/_functoolsmodule.c')
| -rw-r--r-- | Modules/_functoolsmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_functoolsmodule.c b/Modules/_functoolsmodule.c index d6dfefdd87..ed60ae3d7e 100644 --- a/Modules/_functoolsmodule.c +++ b/Modules/_functoolsmodule.c @@ -1440,7 +1440,7 @@ static int _functools_exec(PyObject *module) { _functools_state *state = get_functools_state(module); - state->kwd_mark = _PyObject_CallNoArg((PyObject *)&PyBaseObject_Type); + state->kwd_mark = _PyObject_CallNoArgs((PyObject *)&PyBaseObject_Type); if (state->kwd_mark == NULL) { return -1; } |
