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

This commit is contained in:
Neal Norwitz 2002-08-29 20:25:46 +00:00
parent afb76320ab
commit d94c28e467

View file

@ -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;