Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12399
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.news-service.com!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <mail@johnohagan.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | UNSURE 0.255 |
| X-Spam-Level | ** |
| X-Spam-Evidence | '*H*': 0.51; '*S*': 0.02; 'subject:reference': 0.09; 'wrote:': 0.16; 'header:In-Reply-To:1': 0.22; 'aug': 0.24; 'pass': 0.29; 'sun,': 0.30; 'class': 0.30; 'subject:?': 0.31; 'to:addr :python-list': 0.33; 'charset:us-ascii': 0.36; 'received:au': 0.36; '(not': 0.38; 'subject:: ': 0.39; 'header:Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; 'subject:from': 0.40; "it's": 0.40; 'header:Message-Id:1': 0.61; 'john': 0.62; 'from:addr:mail': 0.64; 'subject:Get': 0.71; 'received:dyn.iinet.net.au': 0.84; 'subject:class': 0.84 |
| Date | Sun, 28 Aug 2011 18:18:54 +1000 |
| From | johnohagan <mail@johnohagan.com> |
| To | python-list@python.org |
| Subject | Re: Get reference to parent class from subclass? |
| In-Reply-To | <20110828140024.f945cf73052f0c39b0a22a99@johnohagan.com> |
| References | <20110828140024.f945cf73052f0c39b0a22a99@johnohagan.com> |
| X-Mailer | Sylpheed 3.2.0beta2 (GTK+ 2.24.4; x86_64-pc-linux-gnu) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII |
| Content-Transfer-Encoding | 7bit |
| X-AntiAbuse | This header was added to track abuse, please include it with any abuse report |
| X-AntiAbuse | Primary Hostname - razor.vivawebhost.com |
| X-AntiAbuse | Original Domain - python.org |
| X-AntiAbuse | Originator/Caller UID/GID - [47 12] / [47 12] |
| X-AntiAbuse | Sender Address Domain - johnohagan.com |
| X-Mailman-Approved-At | Mon, 29 Aug 2011 13:04:23 +0200 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| 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.543.1314615864.27778.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1314615864 news.xs4all.nl 2470 [2001:888:2000:d::a6]:52403 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:12399 |
Show key headers only | View raw
On Sun, 28 Aug 2011 14:00:24 +1000 John O'Hagan <research@johnohagan.com> wrote: > class P(): > pass > > class C(P): > pass > > Can I get P from C? > Never mind, it's __bases__ (not found in dir(C)) > > Regards, > > John
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Get reference to parent class from subclass? johnohagan <mail@johnohagan.com> - 2011-08-28 18:18 +1000
csiph-web