mirror of https://github.com/python/cpython
Don't emit 8 lines of (c) information at startup -- use the same text
as main.c.
This commit is contained in:
parent
8ff4cd7512
commit
fa6013cff0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue