summaryrefslogtreecommitdiff
path: root/Lib/_sitebuiltins.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/_sitebuiltins.py')
-rw-r--r--Lib/_sitebuiltins.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/_sitebuiltins.py b/Lib/_sitebuiltins.py
index 1f21358e26..c29cf4bf8f 100644
--- a/Lib/_sitebuiltins.py
+++ b/Lib/_sitebuiltins.py
@@ -87,8 +87,12 @@ class _Printer(object):
class _Helper(object):
"""Define the builtin 'help'.
- This is a wrapper around pydoc.help (with a twist).
+ This is a wrapper around pydoc.help that provides a helpful message
+ when 'help' is typed at the Python interactive prompt.
+
+ Calling help() at the Python prompt starts an interactive help session.
+ Calling help(thing) prints help for the python object 'thing'.
"""
def __repr__(self):