mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
[3.13] gh-86206: Change IDLE splash line (GH-129698) (#129717)
Replace references to boilerplate files available in About IDLE and instead suggest clicking Help menu.
(cherry picked from commit d83a8a26f5
)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
825c6e4dd7
commit
431fda202d
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