From 4d0635d3c5a51b5bd934dcb546a8d917f4a02763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Wirtel?= Date: Sat, 16 Jun 2018 23:20:56 +0200 Subject: [PATCH] [2.7] 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 fdd7cb1c4e8cd78..337530ab8864e3c 100755 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -1040,7 +1040,7 @@ def short_title(self): 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 000000000000000..058f96e681c22d5 --- /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