summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-12 11:37:57 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-12 11:37:57 (GMT)
commit94390ec2a6ea5acbea9dead528ce067c396a0301 (patch)
treec21a7fa8324d17b76e00ae991621c0be673c3dba /Python/pythonrun.c
parent922d8ff8036c2916471163c78010d8deab9eefc2 (diff)
downloadcpython-94390ec2a6ea5acbea9dead528ce067c396a0301.zip
cpython-94390ec2a6ea5acbea9dead528ce067c396a0301.tar.gz
cpython-94390ec2a6ea5acbea9dead528ce067c396a0301.tar.bz2
use getbuiltins() everywhere, it defaults to getbuiltidict()
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index a25cbba..11bd029 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__");
}
}