Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31708 > unrolled thread
| Started by | Peng Yu <pengyu.ut@gmail.com> |
|---|---|
| First post | 2012-10-18 21:30 -0500 |
| Last post | 2012-10-18 21:30 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
How to access the document for __call__ from command line? Peng Yu <pengyu.ut@gmail.com> - 2012-10-18 21:30 -0500
| From | Peng Yu <pengyu.ut@gmail.com> |
|---|---|
| Date | 2012-10-18 21:30 -0500 |
| Subject | How 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
Back to top | Article view | comp.lang.python
csiph-web