interactive help on the base object

Devin Jeanpierre jeanpierreda at gmail.com
Sun Dec 8 00:23:37 EST 2013


On Fri, Dec 6, 2013 at 9:03 AM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
> Is it just me, or is this basically useless?
>
>>>> help(object)
> Help on class object in module builtins:
>
> class object
>  |  The most base type
>
>>>>
>
> Surely a few more words, or a pointer to this
> http://docs.python.org/3/library/functions.html#object, would be better?

It's good enough to give anyone that's seen it before a reminder of
what it is. pydoc is useless or worse if you don't know anything about
what you're reading. For example, the HTML docs frequently point out
potential security vulnerabilities in usages of libraries where pydoc
does not. (The wording *is* awkward, though.)

-- Devin



More information about the Python-list mailing list