From 25531fb7b8338a21cdcdf2ce0f981d781d21641f Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sat, 16 Jun 2018 14:44:01 -0700 Subject: [PATCH] bpo-33856: Add "help" to the welcome message of IDLE (GH-7755) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make it the same as when one runs 'python'. (cherry picked from commit 9d49f85064c388e2dddb9f8cb4ae1f486bc8d357) Co-authored-by: Stéphane Wirtel --- Lib/idlelib/pyshell.py | 2 +- Misc/NEWS.d/next/IDLE/2018-06-16-21-54-45.bpo-33856.TH8WHU.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/IDLE/2018-06-16-21-54-45.bpo-33856.TH8WHU.rst diff --git a/Lib/idlelib/pyshell.py b/Lib/idlelib/pyshell.py index ddfb56acdbc..6746489eef4 100755 --- a/Lib/idlelib/pyshell.py +++ b/Lib/idlelib/pyshell.py @@ -1033,7 +1033,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.text.mark_set("iomark", "insert") 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 00000000000..058f96e681c --- /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