classmethod() not inherited?

Erik Max Francis max at alcyone.com
Thu Jan 16 05:34:24 EST 2003


Jack Diederich wrote:

> I'd like to have ALL of the derivitives of Base
> have foo as a classmethod, but it doesn't seem
> to be automatic and the following doesn't work

do foo = classmethod(foo) after each further declaration of foo in the
derived classes.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ Nine worlds I remember.
\__/ Icelandic Edda of Snorri Sturluson
    Blackgirl International / http://www.blackgirl.org/
 The Internet resource for black women.




More information about the Python-list mailing list