Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31708
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <pengyu.ut@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'received:209.85.223': 0.03; 'attributes': 0.07; 'subject:How': 0.09; 'python': 0.09; 'defined,': 0.09; 'subject:command': 0.09; 'arg2,': 0.16; 'args...': 0.16; 'function;': 0.16; 'shorthand': 0.16; 'subject:access': 0.16; 'instance': 0.17; 'command': 0.24; 'message-id:@mail.gmail.com': 0.27; 'class': 0.29; 'quickly': 0.32; 'accessible': 0.33; 'to:addr:python-list': 0.33; 'hi,': 0.33; 'received:google.com': 0.34; 'subject:?': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'method': 0.36; 'received:209': 0.37; 'skip:o 20': 0.38; 'to:addr:python.org': 0.39; 'called': 0.39; 'header:Received:5': 0.40; 'charset:windows-1252': 0.65 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=sauk5lVg6lSWcx6Ij8wYMWPLt3Lj/7poHlmyUPx5E0c=; b=P2Y/PI3Fl7jWIXP/dodMMF5BRPntps5P0oKsR7fNqiHh0VfTgSMzq/Gn8yeAMmXqmL Ip2sgYXZ6K7qPKqJC6inctEcrF+7j4iw4XKYWxsDiFC/WzBHBX4PR8FTtQcp2axAbE6X /Go0kYwg2X9Eo1rI1RseSufgATUl3Ni/IAp0nIwP0SO9sbzO/bnN0v0fKMXstjZ4feC+ iJtFwMJcAVshhC3xqgFKWlpmPRUSvxOaO1EmAl7PVvocTDCUQRD4Pve2flQxdw5ha2uL TyZ+Q/YnR++Rf0KoTV0foAFt0LgkvRZPVeyB1+xK/RkrKBJGWv/xU2I4s+VSLyqtEiH9 LYXg== |
| MIME-Version | 1.0 |
| Date | Thu, 18 Oct 2012 21:30:24 -0500 |
| Subject | How to access the document for __call__ from command line? |
| From | Peng Yu <pengyu.ut@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | quoted-printable |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2491.1350613827.27098.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1350613827 news.xs4all.nl 6907 [2001:888:2000:d::a6]:59218 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:31708 |
Show key headers only | View raw
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