Mercurial > cpython-lru_cache-weakref
diff Objects/frameobject.c @ 5007:e4f7c331bb1a legacy-trunk
Intern the strings "__builtins__".
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sat, 18 Jan 1997 07:58:41 +0000 |
| parents | 8de1f6b07df9 |
| children | 4ca4e54c9cd8 |
line wrap: on
line diff
--- a/Objects/frameobject.c Sat Jan 18 07:57:16 1997 +0000 +++ b/Objects/frameobject.c Sat Jan 18 07:58:41 1997 +0000 @@ -147,7 +147,7 @@ frameobject *f; object *builtins; if (builtin_object == NULL) { - builtin_object = newstringobject("__builtins__"); + builtin_object = PyString_InternFromString("__builtins__"); if (builtin_object == NULL) return NULL; }
