Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #13240 > unrolled thread

Re: Invoke a superclass method from a subclass constructor

Started byDave Angel <davea@ieee.org>
First post2011-09-13 15:31 -0400
Last post2011-09-13 15:31 -0400
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.


Contents

  Re: Invoke a superclass method from a subclass constructor Dave Angel <davea@ieee.org> - 2011-09-13 15:31 -0400

#13240 — Re: Invoke a superclass method from a subclass constructor

FromDave Angel <davea@ieee.org>
Date2011-09-13 15:31 -0400
SubjectRe: Invoke a superclass method from a subclass constructor
Message-ID<mailman.1082.1315942285.27778.python-list@python.org>
On 01/-10/-28163 02:59 PM, Kayode Odeyemi wrote:
>
> When an instance of a class is created, all codes within that instance block
> should be executed. That's my understanding of OOP.
>
I don't understand this phrasing at all.   Could you show a specific 
example of something that does not execute code you think should be 
executed?  I suspect you're just confused by things the interactive 
session is printing out, which are not part of the language, and work a 
bit differently.

DaveA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web