Issue 15337: help() shown as undocumented

This commit is contained in:
Raymond Hettinger 2012-07-16 00:11:05 -07:00
parent e0c22206e4
commit 66dd94199c
2 changed files with 5 additions and 4 deletions

View file

@ -294,6 +294,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: