mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +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
|
@ -1058,7 +1058,7 @@ itertools_tee_impl(PyObject *module, PyObject *iterable, Py_ssize_t n)
|
|||
|
||||
PyTuple_SET_ITEM(result, 0, copyable);
|
||||
for (i = 1; i < n; i++) {
|
||||
copyable = _PyObject_CallNoArg(copyfunc);
|
||||
copyable = _PyObject_CallNoArgs(copyfunc);
|
||||
if (copyable == NULL) {
|
||||
Py_DECREF(copyfunc);
|
||||
Py_DECREF(result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue