Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 2128:92da8901517e legacy-trunk
use getbuiltins() everywhere, it defaults to getbuiltidict()
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 12 Jan 1995 11:37:57 +0000 |
| parents | b7be0382f9ee |
| children | d3b5be0c872f |
line wrap: on
line diff
--- a/Python/pythonrun.c Thu Jan 12 11:31:04 1995 +0000 +++ b/Python/pythonrun.c Thu Jan 12 11:37:57 1995 +0000 @@ -100,7 +100,7 @@ fatal("can't create __main__ module"); d = getmoduledict(m); if (dictlookup(d, "__builtins__") == NULL) { - if (dictinsert(d, "__builtins__", getbuiltindict())) + if (dictinsert(d, "__builtins__", getbuiltins())) fatal("can't add __builtins__ to __main__"); } }
