diff options
author | Guido van Rossum <guido@python.org> | 1997-01-18 07:58:41 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-01-18 07:58:41 (GMT) |
commit | b56933ed2e1e2f921b8a20a6e8b9a9431a5cb447 (patch) | |
tree | 55c3151c1f89c2bd10a50075dd7595c5a2f5834b /Objects | |
parent | c6d0670f1bc77c413892f6089bc20902a59f8f02 (diff) | |
download | cpython-b56933ed2e1e2f921b8a20a6e8b9a9431a5cb447.zip cpython-b56933ed2e1e2f921b8a20a6e8b9a9431a5cb447.tar.gz cpython-b56933ed2e1e2f921b8a20a6e8b9a9431a5cb447.tar.bz2 |
Intern the strings "__builtins__".
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/frameobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c index e416b4f..546f1e8 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -147,7 +147,7 @@ newframeobject(back, code, globals, locals, owner, nvalues, nblocks) frameobject *f; object *builtins; if (builtin_object == NULL) { - builtin_object = newstringobject("__builtins__"); + builtin_object = PyString_InternFromString("__builtins__"); if (builtin_object == NULL) return NULL; } |