commit | d94c28e467cc550cc09d082eb8bd078e4f2df2e4 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Thu Aug 29 20:25:46 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Thu Aug 29 20:25:46 2002 +0000 |
tree | 4ef7166f9a84b89885cf4b9d2a4e9f8f9edb0f59 | |
parent | afb76320abd7d79844101d130a0421231c7de7f3 [diff] [blame] |
SF #561244: micro optimizations, builtins cannot be NULL, so use Py_INCREF
diff --git a/Objects/frameobject.c b/Objects/frameobject.c index 90cd952..c65ca40 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c
@@ -287,7 +287,7 @@ } } else - Py_XINCREF(builtins); + Py_INCREF(builtins); f->f_builtins = builtins; Py_XINCREF(back); f->f_back = back;