From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 6 Feb 2025 08:20:31 +0000 (+0100) Subject: [3.12] gh-86206: Change IDLE splash line (GH-129698) (#129718) X-Git-Tag: v3.12.10~239 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a0fbc78136e7750ef4387754aa3cd76cea20cd1;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-86206: Change IDLE splash line (GH-129698) (#129718) Replace references to boilerplate files available in About IDLE and instead suggest clicking Help menu. (cherry picked from commit d83a8a26f5e321b26bec59f5fd47c9c46c16ab12) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Terry Jan Reedy --- diff --git a/Lib/idlelib/pyshell.py b/Lib/idlelib/pyshell.py index e882c6cb3b8d..98668580d061 100755 --- a/Lib/idlelib/pyshell.py +++ b/Lib/idlelib/pyshell.py @@ -1131,8 +1131,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") @@ -1151,7 +1150,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