[Python-checkins] bpo-33856: Add "help" to the welcome message of IDLE (GH-7755)

Miss Islington (bot) webhook-mailer at python.org
Sat Jun 16 17:44:04 EDT 2018


https://github.com/python/cpython/commit/25531fb7b8338a21cdcdf2ce0f981d781d21641f
commit: 25531fb7b8338a21cdcdf2ce0f981d781d21641f
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-06-16T14:44:01-07:00
summary:

bpo-33856: Add "help" to the welcome message of IDLE (GH-7755)


Make it the same as when one runs 'python'.
(cherry picked from commit 9d49f85064c388e2dddb9f8cb4ae1f486bc8d357)

Co-authored-by: Stéphane Wirtel <stephane at wirtel.be>

files:
A Misc/NEWS.d/next/IDLE/2018-06-16-21-54-45.bpo-33856.TH8WHU.rst
M Lib/idlelib/pyshell.py

diff --git a/Lib/idlelib/pyshell.py b/Lib/idlelib/pyshell.py
index ddfb56acdbc4..6746489eef41 100755
--- a/Lib/idlelib/pyshell.py
+++ b/Lib/idlelib/pyshell.py
@@ -1033,7 +1033,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.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 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



More information about the Python-checkins mailing list