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

Terry Jan Reedy webhook-mailer at python.org
Sat Jun 16 17:20:59 EDT 2018


https://github.com/python/cpython/commit/9d49f85064c388e2dddb9f8cb4ae1f486bc8d357
commit: 9d49f85064c388e2dddb9f8cb4ae1f486bc8d357
branch: master
author: Stéphane Wirtel <stephane at wirtel.be>
committer: Terry Jan Reedy <tjreedy at udel.edu>
date: 2018-06-16T17:20:56-04:00
summary:

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

Make it the same as when one runs 'python'.

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