mirror of
https://github.com/python/cpython.git
synced 2025-11-17 01:25:57 +00:00
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
1 changed files with 4 additions and 1 deletions
|
|
@ -429,10 +429,13 @@ class PyShell(OutputWindow):
|
||||||
def short_title(self):
|
def short_title(self):
|
||||||
return self.shell_title
|
return self.shell_title
|
||||||
|
|
||||||
|
COPYRIGHT = \
|
||||||
|
'Type "copyright", "credits" or "license" for more information.'
|
||||||
|
|
||||||
def begin(self):
|
def begin(self):
|
||||||
self.resetoutput()
|
self.resetoutput()
|
||||||
self.write("Python %s on %s\n%s\nIDLE %s -- press F1 for help\n" %
|
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))
|
idlever.IDLE_VERSION))
|
||||||
try:
|
try:
|
||||||
sys.ps1
|
sys.ps1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue