Can I inherit member variables?

Gabriel Genellina gagsl-py at yahoo.com.ar
Fri Sep 22 00:38:29 CEST 2006


At Thursday 21/9/2006 09:14, Bruno Desthuilliers wrote:

> > When you construct an object instance, it is of a certain type from that
> > precise moment, and you can't change that afterwards.
>
>Err... Actually, in Python, you can. It's even a no-brainer.

Yes, but trying to explain that to a beginner would just make things 
worse... You must grab the inheritance concept first.



Gabriel Genellina
Softlab SRL 


	
	
		
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas




More information about the Python-list mailing list