mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
SF #561244: micro optimizations, builtins cannot be NULL, so use Py_INCREF
This commit is contained in:
parent
afb76320ab
commit
d94c28e467
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ PyFrame_New(PyThreadState *tstate, PyCodeObject *code, PyObject *globals,
|
|||
}
|
||||
}
|
||||
else
|
||||
Py_XINCREF(builtins);
|
||||
Py_INCREF(builtins);
|
||||
f->f_builtins = builtins;
|
||||
Py_XINCREF(back);
|
||||
f->f_back = back;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue