mirror of https://github.com/python/cpython
Make the copyright message the same as for the "real" interpreter.
This commit is contained in:
parent
da8df6ea8e
commit
c5f15b088f
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue