From: Terry Jan Reedy Date: Sat, 16 Jun 2018 22:15:18 +0000 (-0400) Subject: [2.7] bpo-33856: Add "help" to the welcome message of IDLE (GH-7755) (GH-7758) X-Git-Tag: v2.7.16rc1~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c488558faaff4ffa44ba20e0c1f1fc8f18fe722f;p=thirdparty%2FPython%2Fcpython.git [2.7] bpo-33856: Add "help" to the welcome message of IDLE (GH-7755) (GH-7758) Make it the same as when one runs 'python'.. (cherry picked from commit 9d49f85064c388e2dddb9f8cb4ae1f486bc8d357) Co-authored-by: Stéphane Wirtel --- diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index fdd7cb1c4e8c..337530ab8864 100755 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -1040,7 +1040,7 @@ class PyShell(OutputWindow): return self.shell_title COPYRIGHT = \ - 'Type "copyright", "credits" or "license()" for more information.' + 'Type "help", "copyright", "credits" or "license()" for more information.' def begin(self): self.resetoutput() diff --git a/Misc/NEWS.d/next/IDLE/2018-06-16-21-54-45.bpo-33856.TH8WHU.rst b/Misc/NEWS.d/next/IDLE/2018-06-16-21-54-45.bpo-33856.TH8WHU.rst new file mode 100644 index 000000000000..058f96e681c2 --- /dev/null +++ b/Misc/NEWS.d/next/IDLE/2018-06-16-21-54-45.bpo-33856.TH8WHU.rst @@ -0,0 +1 @@ +Add "help" in the welcome message of IDLE