[New-bugs-announce] [issue15337] The cmd module incorrectly lists "help" as an undocument command

Raymond Hettinger report at bugs.python.org
Thu Jul 12 21:48:11 CEST 2012


New submission from Raymond Hettinger <raymond.hettinger at gmail.com>:

The following minimal script:
-----------------------------
import cmd
class C(cmd.Cmd): pass
C().cmdloop()

Creates the following help display:
-----------------------------------
(Cmd) help

Undocumented commands:
======================
help

For people who are consistently documenting their other commands, it is annoying to have anything at all listed in the "undocumented section".  So, help should have it's own default help message.

----------
components: Library (Lib)
keywords: easy
messages: 165332
nosy: rhettinger
priority: normal
severity: normal
status: open
title: The cmd module incorrectly lists "help" as an undocument command
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15337>
_______________________________________


More information about the New-bugs-announce mailing list