summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
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;
}