mirror of
https://github.com/python/cpython.git
synced 2025-09-02 23:18:25 +00:00
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().
This commit is contained in:
parent
fb8f208a4d
commit
ce3489cfdb
37 changed files with 73 additions and 73 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue