inherit without calling parent class constructor?

Christian Dieterich cdieterich at geosci.uchicago.edu
Fri Jan 28 03:02:53 CET 2005


On Déardaoin, Ean 27, 2005, at 19:25 America/Chicago, Jeff Shannon 
wrote:

> Okay, so size (and the B object) is effectively a class attribute, 
> rather than an instance attribute.  You can do this explicitly --

Ah, now I'm getting there. That does the trick.

> Probably not worth the trouble in this particular case, but maybe in 
> another case... :)

Yeah, maybe not. But I'll remember it as a useful recipe.

Cheers,

Christian




More information about the Python-list mailing list