mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Use _PyObject_CallNoArg()
Replace: PyObject_CallObject(callable, NULL) with: _PyObject_CallNoArg(callable)
This commit is contained in:
parent
2a358f862b
commit
a5ed5f000a
11 changed files with 33 additions and 33 deletions
|
@ -1843,7 +1843,7 @@ _PyDict_FromKeys(PyObject *cls, PyObject *iterable, PyObject *value)
|
|||
PyObject *d;
|
||||
int status;
|
||||
|
||||
d = PyObject_CallObject(cls, NULL);
|
||||
d = _PyObject_CallNoArg(cls);
|
||||
if (d == NULL)
|
||||
return NULL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue