Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #31708 > unrolled thread

How to access the document for __call__ from command line?

Started byPeng Yu <pengyu.ut@gmail.com>
First post2012-10-18 21:30 -0500
Last post2012-10-18 21:30 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  How to access the document for __call__ from command line? Peng Yu <pengyu.ut@gmail.com> - 2012-10-18 21:30 -0500

#31708 — How to access the document for __call__ from command line?

FromPeng Yu <pengyu.ut@gmail.com>
Date2012-10-18 21:30 -0500
SubjectHow to access the document for __call__ from command line?
Message-ID<mailman.2491.1350613827.27098.python-list@python.org>
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, ...).

-- 
Regards,
Peng

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web