summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-17 16:27:25 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-17 16:27:25 (GMT)
commitb4e7e25fe6f7e2c075f463b58ebdcfe21dedaf06 (patch)
tree484e6d4b235dd257ea9c94867864e03e7a3f2481 /Python
parentcd938fc5a1ba4a61959460787eb549ff989ca6b0 (diff)
downloadcpython-b4e7e25fe6f7e2c075f463b58ebdcfe21dedaf06.zip
cpython-b4e7e25fe6f7e2c075f463b58ebdcfe21dedaf06.tar.gz
cpython-b4e7e25fe6f7e2c075f463b58ebdcfe21dedaf06.tar.bz2
different init for __builtins__
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 2d16ef8..08758eb 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -737,8 +737,8 @@ eval_code(co, globals, locals, owner, arg)
!suppress_print) {
flushline();
x = sysget("stdout");
- softspace(x, 1);
err = writeobject(v, x, 0);
+ softspace(x, 1);
flushline();
}
DECREF(v);
@@ -1692,7 +1692,7 @@ object *
getbuiltins()
{
if (current_frame == NULL)
- return getbuiltindict();
+ return getbuiltinmod();
else
return current_frame->f_builtins;
}