mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-86206: Change IDLE splash line (#129698)
Change splash line Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
76e0182948
commit
d83a8a26f5
1 changed files with 2 additions and 3 deletions
|
@ -1133,8 +1133,7 @@ class PyShell(OutputWindow):
|
|||
def short_title(self):
|
||||
return self.shell_title
|
||||
|
||||
COPYRIGHT = \
|
||||
'Type "help", "copyright", "credits" or "license()" for more information.'
|
||||
SPLASHLINE = 'Enter "help" below or click "Help" above for more information.'
|
||||
|
||||
def begin(self):
|
||||
self.text.mark_set("iomark", "insert")
|
||||
|
@ -1153,7 +1152,7 @@ class PyShell(OutputWindow):
|
|||
sys.displayhook = rpc.displayhook
|
||||
|
||||
self.write("Python %s on %s\n%s\n%s" %
|
||||
(sys.version, sys.platform, self.COPYRIGHT, nosub))
|
||||
(sys.version, sys.platform, self.SPLASHLINE, nosub))
|
||||
self.text.focus_force()
|
||||
self.showprompt()
|
||||
# User code should use separate default Tk root window
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue