make default banner match what the real interpreter displays
This commit is contained in:
parent
0679a73c0e
commit
acb29aed67
|
@ -216,7 +216,7 @@ class InteractiveConsole(InteractiveInterpreter):
|
|||
sys.ps2
|
||||
except AttributeError:
|
||||
sys.ps2 = "... "
|
||||
cprt = 'Type "copyright", "credits" or "license" for more information.'
|
||||
cprt = 'Type "help", "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, cprt,
|
||||
|
|
Loading…
Reference in New Issue