[docs] [issue11926] help("keywords") returns incomplete list of keywords

Ezio Melotti report at bugs.python.org
Wed Apr 27 04:17:05 CEST 2011


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

This can be fixed by adding 'False', 'None', and 'True' to the Helper.keywords dict in Lib/pydoc.py.  I'm not sure what the topic for these should be though.  True/False/None are documented in the "built-in constants" section[0] of the doc.  An alternative might be to point to 'bool'[1] for True/False or just show the same help of help(True/False/None) (without quotes).

[0]: http://docs.python.org/dev/py3k/library/constants.html#built-in-constants
[1]: http://docs.python.org/dev/py3k/library/functions.html#bool

----------

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


More information about the docs mailing list