summaryrefslogtreecommitdiffstats
path: root/Lib/cmd.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2010-09-09 03:53:22 (GMT)
committerRaymond Hettinger <python@rcn.com>2010-09-09 03:53:22 (GMT)
commit44d7b6ad60c151d2a265c326c1f7cf26d3c9dc18 (patch)
treed294781112900852e67666d7965abb1f6bc97c5f /Lib/cmd.py
parentbd889e8c40da62b4a2aaa99d2b1ef50291b49342 (diff)
downloadcpython-44d7b6ad60c151d2a265c326c1f7cf26d3c9dc18.zip
cpython-44d7b6ad60c151d2a265c326c1f7cf26d3c9dc18.tar.gz
cpython-44d7b6ad60c151d2a265c326c1f7cf26d3c9dc18.tar.bz2
Add docstring to cmd.Cmd.do_help()
Diffstat (limited to 'Lib/cmd.py')
-rw-r--r--Lib/cmd.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/cmd.py b/Lib/cmd.py
index 85282f8..8fa7d01 100644
--- a/Lib/cmd.py
+++ b/Lib/cmd.py
@@ -288,6 +288,7 @@ class Cmd:
return list(commands | topics)
def do_help(self, arg):
+ 'List available commands with "help" or detailed help with "help cmd".'
if arg:
# XXX check arg syntax
try: