Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12399 > unrolled thread
| Started by | johnohagan <mail@johnohagan.com> |
|---|---|
| First post | 2011-08-28 18:18 +1000 |
| Last post | 2011-08-28 18:18 +1000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Get reference to parent class from subclass? johnohagan <mail@johnohagan.com> - 2011-08-28 18:18 +1000
| From | johnohagan <mail@johnohagan.com> |
|---|---|
| Date | 2011-08-28 18:18 +1000 |
| Subject | Re: Get reference to parent class from subclass? |
| Message-ID | <mailman.543.1314615864.27778.python-list@python.org> |
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 top | Article view | comp.lang.python
csiph-web