From ce3489cfdb9f0e050bdc45ce5d3902c2577ea683 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 12 Oct 2021 00:42:23 +0200 Subject: 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(). --- Python/bltinmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/bltinmodule.c') diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 1f038166890..f91bb9ffdbc 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -2305,7 +2305,7 @@ builtin_round_impl(PyObject *module, PyObject *number, PyObject *ndigits) } if (ndigits == Py_None) - result = _PyObject_CallNoArg(round); + result = _PyObject_CallNoArgs(round); else result = PyObject_CallOneArg(round, ndigits); Py_DECREF(round); -- cgit v1.2.3