Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31708
| Date | 2012-10-18 21:30 -0500 |
|---|---|
| Subject | How to access the document for __call__ from command line? |
| From | Peng Yu <pengyu.ut@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2491.1350613827.27098.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
How to access the document for __call__ from command line? Peng Yu <pengyu.ut@gmail.com> - 2012-10-18 21:30 -0500
csiph-web