mirror of
https://github.com/python/cpython.git
synced 2025-10-25 10:44:55 +00:00
gh-111489: Remove _PyTuple_FromArray() alias (#139973)
Replace _PyTuple_FromArray() with PyTuple_FromArray(). Remove pycore_tuple.h includes.
This commit is contained in:
parent
447c7a89fb
commit
166cdaa6fb
23 changed files with 63 additions and 74 deletions
|
|
@ -2011,7 +2011,7 @@ PyEval_EvalCodeEx(PyObject *_co, PyObject *globals, PyObject *locals,
|
|||
{
|
||||
PyThreadState *tstate = _PyThreadState_GET();
|
||||
PyObject *res = NULL;
|
||||
PyObject *defaults = _PyTuple_FromArray(defs, defcount);
|
||||
PyObject *defaults = PyTuple_FromArray(defs, defcount);
|
||||
if (defaults == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue