make default banner match what the real interpreter displays
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user