mirror of https://github.com/python/cpython
parent
41afe9dd85
commit
944dbc6431
|
@ -2378,7 +2378,7 @@ _PyStack_AsDict(PyObject **values, PyObject *kwnames)
|
||||||
PyObject *kwdict;
|
PyObject *kwdict;
|
||||||
Py_ssize_t i;
|
Py_ssize_t i;
|
||||||
|
|
||||||
kwdict = PyDict_New();
|
kwdict = _PyDict_NewPresized(nkwargs);
|
||||||
if (kwdict == NULL) {
|
if (kwdict == NULL) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue