summaryrefslogtreecommitdiff
path: root/Lib/code.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-01-14 23:04:22 +0000
committerGuido van Rossum <guido@python.org>2001-01-14 23:04:22 +0000
commit086f603b57fb3c648c918214351fa776dbf3f43b (patch)
tree7c881c4e8b773ad22d544ae9878b4ff95cd23df2 /Lib/code.py
parent771275291d353e39e82fefe1dbf18220589ca711 (diff)
downloadcpython-086f603b57fb3c648c918214351fa776dbf3f43b.tar.gz
Make the copyright message the same as for the "real" interpreter.
Diffstat (limited to 'Lib/code.py')
-rw-r--r--Lib/code.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/code.py b/Lib/code.py
index b308a5807c..3cd33dee48 100644
--- a/Lib/code.py
+++ b/Lib/code.py
@@ -216,9 +216,10 @@ class InteractiveConsole(InteractiveInterpreter):
sys.ps2
except AttributeError:
sys.ps2 = "... "
+ cprt = 'Type "copyright", "credits" or "license" for more information.'
if banner is None:
self.write("Python %s on %s\n%s\n(%s)\n" %
- (sys.version, sys.platform, sys.copyright,
+ (sys.version, sys.platform, cprt,
self.__class__.__name__))
else:
self.write("%s\n" % str(banner))