From cd5f7790ce9efef3fa8de27f924f7af70a0d4053 Mon Sep 17 00:00:00 2001 From: leuneri Date: Sun, 14 May 2023 05:53:33 -0800 Subject: [PATCH 1/2] added parentheses to help and license --- Lib/code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/code.py b/Lib/code.py index 2bd5fa3e795a61..6fe5782efe40a1 100644 --- a/Lib/code.py +++ b/Lib/code.py @@ -211,7 +211,7 @@ def interact(self, banner=None, exitmsg=None): sys.ps2 except AttributeError: sys.ps2 = "... " - cprt = 'Type "help", "copyright", "credits" or "license" for more information.' + cprt = 'Type "help()", "copyright", "credits" or "license()" for more information.' if banner is None: self.write("Python %s on %s\n%s\n(%s)\n" % (sys.version, sys.platform, cprt, From 2fc4d45e2d02931ab0be6ae4d8933d7a86624da6 Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Sun, 14 May 2023 13:14:09 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../2023-05-14-13-14-08.gh-issue-104471.R6mwB8.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Core and Builtins/2023-05-14-13-14-08.gh-issue-104471.R6mwB8.rst diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-05-14-13-14-08.gh-issue-104471.R6mwB8.rst b/Misc/NEWS.d/next/Core and Builtins/2023-05-14-13-14-08.gh-issue-104471.R6mwB8.rst new file mode 100644 index 00000000000000..071d6e75ae8a10 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2023-05-14-13-14-08.gh-issue-104471.R6mwB8.rst @@ -0,0 +1 @@ +Starting the interactive Python shell now shows a parenthesis after help and license to show how users should interact with these functions inside of the shell