mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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
|
@ -477,7 +477,7 @@ fp_setreadl(struct tok_state *tok, const char* enc)
|
|||
Py_XSETREF(tok->decoding_readline, readline);
|
||||
|
||||
if (pos > 0) {
|
||||
PyObject *bufobj = _PyObject_CallNoArg(readline);
|
||||
PyObject *bufobj = _PyObject_CallNoArgs(readline);
|
||||
if (bufobj == NULL)
|
||||
return 0;
|
||||
Py_DECREF(bufobj);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue