]> granicus.if.org Git - python/commitdiff
bpo-33856: Add "help" to the welcome message of IDLE (GH-7755)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 16 Jun 2018 21:37:55 +0000 (14:37 -0700)
committerGitHub <noreply@github.com>
Sat, 16 Jun 2018 21:37:55 +0000 (14:37 -0700)
Make it the same as when one runs 'python'.
(cherry picked from commit 9d49f85064c388e2dddb9f8cb4ae1f486bc8d357)

Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
Lib/idlelib/pyshell.py
Misc/NEWS.d/next/IDLE/2018-06-16-21-54-45.bpo-33856.TH8WHU.rst [new file with mode: 0644]

index ddfb56acdbc44fa01e84a611c5557fcfa8e59d88..6746489eef41518048b515ac4144ab8611617e2a 100755 (executable)
@@ -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 (file)
index 0000000..058f96e
--- /dev/null
@@ -0,0 +1 @@
+Add "help" in the welcome message of IDLE