mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +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
|
|
@ -3773,7 +3773,7 @@ _password_callback(char *buf, int size, int rwflag, void *userdata)
|
|||
}
|
||||
|
||||
if (pw_info->callable) {
|
||||
fn_ret = _PyObject_CallNoArg(pw_info->callable);
|
||||
fn_ret = _PyObject_CallNoArgs(pw_info->callable);
|
||||
if (!fn_ret) {
|
||||
/* TODO: It would be nice to move _ctypes_add_traceback() into the
|
||||
core python API, so we could use it to add a frame here */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue