From b4e7e25fe6f7e2c075f463b58ebdcfe21dedaf06 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 17 Jan 1995 16:27:25 +0000 Subject: different init for __builtins__ --- Python/ceval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Python/ceval.c') diff --git a/Python/ceval.c b/Python/ceval.c index 2d16ef8a9e..08758ebe19 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; } -- cgit v1.2.1