From f3ece125e459562fcba3d2fbed73fa260d695240 Mon Sep 17 00:00:00 2001 From: Alastair Houghton Date: Mon, 13 Oct 2014 09:20:44 +0100 Subject: Use __builtin__ module, not __builtins__ variable. --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b149417..f59dd34 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,9 @@ if sys.version_info[0] == 2: f.write(' '.join(str(a) for a in args)) f.write(end) else: - output = getattr(__builtins__, 'print') + import __builtin__ + + output = getattr(__builtin__, 'print') __version__ = "0.10.4" -- cgit v1.2.1