diff options
author | Guido van Rossum <guido@python.org> | 1995-01-12 11:37:57 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-12 11:37:57 +0000 |
commit | 3f192cbb1166f22cdf4757df493fe9e79091c13f (patch) | |
tree | 0a5bbcc98ffa2decbc8312b93671805ccdfd0852 /Python/pythonrun.c | |
parent | ad67c04b208600614ca3549a29f4d7cea0a2770e (diff) | |
download | cpython-3f192cbb1166f22cdf4757df493fe9e79091c13f.tar.gz |
use getbuiltins() everywhere, it defaults to getbuiltidict()
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index a25cbba848..11bd029a9c 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -100,7 +100,7 @@ initmain() 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__"); } } |