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


Groups > comp.lang.python > #13240

Re: Invoke a superclass method from a subclass constructor

Date 2011-09-13 15:31 -0400
From Dave Angel <davea@ieee.org>
Subject Re: Invoke a superclass method from a subclass constructor
References (1 earlier) <4E6C9044.5060302@jollybox.de> <CAPbrmCua4wZFJEyiTJHe5Wo_+ho_Q=F-GRsYvSs_FqEdNTP_Xw@mail.gmail.com> <0604E20B5F6F2F4784C9C8C71C5DD4DD2F16B197E2@EMARC112VS01.exchad.jpmchase.net> <0604E20B5F6F2F4784C9C8C71C5DD4DD2F16B1987A@EMARC112VS01.exchad.jpmchase.net> <CAPbrmCtEemgxBC1RRjFSmuePsp8AkO8FTO95orJ_T3MMB=j3Og@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1082.1315942285.27778.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web