Commit d94c28e4 authored by Neal Norwitz's avatar Neal Norwitz

SF #561244: micro optimizations, builtins cannot be NULL, so use Py_INCREF

parent afb76320
...@@ -287,7 +287,7 @@ PyFrame_New(PyThreadState *tstate, PyCodeObject *code, PyObject *globals, ...@@ -287,7 +287,7 @@ PyFrame_New(PyThreadState *tstate, PyCodeObject *code, PyObject *globals,
} }
} }
else else
Py_XINCREF(builtins); Py_INCREF(builtins);
f->f_builtins = builtins; f->f_builtins = builtins;
Py_XINCREF(back); Py_XINCREF(back);
f->f_back = back; f->f_back = back;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment