Mailing List Archive

[2.7] bpo-33856: Add "help" to the welcome message of IDLE (GH-7755) (GH-7758)
https://github.com/python/cpython/commit/c488558faaff4ffa44ba20e0c1f1fc8f18fe722f
commit: c488558faaff4ffa44ba20e0c1f1fc8f18fe722f
branch: 2.7
author: Terry Jan Reedy <tjreedy@udel.edu>
committer: GitHub <noreply@github.com>
date: 2018-06-16T18:15:18-04:00
summary:

[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 <stephane@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 fdd7cb1c4e8c..337530ab8864 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 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

_______________________________________________
Python-checkins mailing list
Python-checkins@python.org
https://mail.python.org/mailman/listinfo/python-checkins