Don't emit 8 lines of (c) information at startup -- use the same text

as main.c.
This commit is contained in:
Guido van Rossum 2000-09-05 13:51:14 +00:00
parent 8ff4cd7512
commit fa6013cff0
1 changed files with 4 additions and 1 deletions

View File

@ -429,10 +429,13 @@ class PyShell(OutputWindow):
def short_title(self):
return self.shell_title
COPYRIGHT = \
'Type "copyright", "credits" or "license" for more information.'
def begin(self):
self.resetoutput()
self.write("Python %s on %s\n%s\nIDLE %s -- press F1 for help\n" %
(sys.version, sys.platform, sys.copyright,
(sys.version, sys.platform, self.COPYRIGHT,
idlever.IDLE_VERSION))
try:
sys.ps1