summaryrefslogtreecommitdiffstats
path: root/Lib/code.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-01-14 23:04:22 (GMT)
committerGuido van Rossum <guido@python.org>2001-01-14 23:04:22 (GMT)
commitc5f15b088fd30157fb587079d47086295b7ed52b (patch)
tree3ffad0681c870f6c715af7e1cb837d84e75aceb8 /Lib/code.py
parentda8df6ea8e22f4951a5421393b8ec6b6c2182d5a (diff)
downloadcpython-c5f15b088fd30157fb587079d47086295b7ed52b.zip
cpython-c5f15b088fd30157fb587079d47086295b7ed52b.tar.gz
cpython-c5f15b088fd30157fb587079d47086295b7ed52b.tar.bz2
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 b308a58..3cd33de 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))