How to access the document for __call__ from command line?

P

Peng Yu

Hi,

reference.pdf from python document has the following description. It
is not accessible from help() in the command line. Is there an
alternative so that I can quickly access these class attributes or
method names from the command line?

object.__call__(self [, args... ])
Called when the instance is “called” as a function; if this method is
defined, x(arg1, arg2, ...) is a
shorthand for x.__call__(arg1, arg2, ...).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top