Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
@@ -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