Make the copyright message the same as for the "real" interpreter.

This commit is contained in:
Guido van Rossum 2001-01-14 23:04:22 +00:00
parent da8df6ea8e
commit c5f15b088f
1 changed files with 2 additions and 1 deletions

View File

@ -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))