[Python-Dev] Excess help() output (original) (raw)

anatoly techtonik techtonik at gmail.com
Tue Jul 1 07:16:52 CEST 2014


Hi,

The help() output is confusing for beginners:

class B(object): ... pass ... help(B) Help on class B in module main:

class B(builtin.object) | Data descriptors defined here: | | dict | dictionary for instance variables (if defined) | | weakref | list of weak references to the object (if defined)

Is it possible to remove this section from help output? Why is it here at all?

dir(B) ['class', 'delattr', 'dict', 'doc', 'format', 'getattribute', 'hash', 'init', 'module', 'new', 'reduce', 'reduce_ex', 'repr', 'setattr', 'sizeof', 'str', 'subclasshook', 'weakref']

-- anatoly t.



More information about the Python-Dev mailing list