]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-86206: Change IDLE splash line (GH-129698) (#129717)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 6 Feb 2025 08:20:05 +0000 (09:20 +0100)
committerGitHub <noreply@github.com>
Thu, 6 Feb 2025 08:20:05 +0000 (03:20 -0500)
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 <tjreedy@udel.edu>
Lib/idlelib/pyshell.py

index 66fbbd4a97b7af4288266fdb1695c6efbade35c8..295d06e4a5f017803fa89b904e71d93c9addaf2c 100755 (executable)
@@ -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