summaryrefslogtreecommitdiff
path: root/Lib/code.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-28 08:08:09 +0100
committerGeorg Brandl <georg@python.org>2013-10-28 08:08:09 +0100
commit03b9c293da396efd6df7fb0d980db0faa8bb4b49 (patch)
tree9d1da9bb4648df90b7f435bc5eadc38c26da011e /Lib/code.py
parentbc3101edfd79f9d63af2f7503c94e1c5390f9074 (diff)
parent8d7b2d90166762520cd2f911bb3bcaf71c41c98c (diff)
downloadcpython-03b9c293da396efd6df7fb0d980db0faa8bb4b49.tar.gz
null merge with 3.3
Diffstat (limited to 'Lib/code.py')
-rw-r--r--Lib/code.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/code.py b/Lib/code.py
index 9020aab701..f8184b6c22 100644
--- a/Lib/code.py
+++ b/Lib/code.py
@@ -216,7 +216,7 @@ class InteractiveConsole(InteractiveInterpreter):
self.write("Python %s on %s\n%s\n(%s)\n" %
(sys.version, sys.platform, cprt,
self.__class__.__name__))
- else:
+ elif banner:
self.write("%s\n" % str(banner))
more = 0
while 1: