Intern the strings "__builtins__".

This commit is contained in:
Guido van Rossum 1997-01-18 07:58:41 +00:00
parent c6d0670f1b
commit b56933ed2e
1 changed files with 1 additions and 1 deletions

View File

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