[New-bugs-announce] [issue20285] Improve object.__doc__ and help(object) output
Terry J. Reedy
report at bugs.python.org
Fri Jan 17 01:59:11 CET 2014
New submission from Terry J. Reedy:
'The most base type'
Since 'most base' can be interpreted as 'least desireable', several people on Python list (2013 Dec, "interactive help on the base object") agree that this should be improved. Even is 'most base' is interpreted as a value-free 'bottommost', there is the direction issue. Whether the root of a tree or DAG is at top or bottom or side depends on how the graph is drawn. I suggest
"The superclass for all Python classes."
Help on class object in module builtins:
| The most base type
I think help(object) should display the methods defined on the object class just as it does on all the other classes. The apparent problem is that help(subclass) supresses the object methods, but it should not for object itself.
stage: test needed
title: Improve object.__doc__ and help(object) output
versions: Python 2.7, Python 3.3, Python 3.4
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce