cpython: 076ae30e5dd0 (original) (raw)
Mercurial > cpython
changeset 78132:076ae30e5dd0 2.7
Issue 15337: help() shown as undocumented
Raymond Hettinger python@rcn.com | |
---|---|
date | Mon, 16 Jul 2012 00:11:05 -0700 |
parents | c53e3aacb816 |
children | cd2d4fe57c0e |
files | Lib/cmd.py Lib/test/test_cmd.py |
diffstat | 2 files changed, 5 insertions(+), 4 deletions(-)[+] [-] Lib/cmd.py 1 Lib/test/test_cmd.py 8 |
line wrap: on
line diff
--- a/Lib/cmd.py +++ b/Lib/cmd.py @@ -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".'[](#l1.7) if arg:[](#l1.8) # XXX check arg syntax[](#l1.9) try:[](#l1.10)
--- a/Lib/test/test_cmd.py +++ b/Lib/test/test_cmd.py @@ -84,11 +84,11 @@ class samplecmdclass(cmd.Cmd): Documented commands (type help ): ========================================