At Wednesday 13/12/2006 18:04, Nick Maclaren wrote:
I am defining a class, and I need to refer to that class when
setting up its static data - don't ask - like this:
Class weeble :
wumpus = brinjal(weeble)
Move it below the class:
class weeble:
........
weeble.wumpus = brinjal(weeble)
Not perfect but manageable I think...
--
Gabriel Genellina
Softlab SRL
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
--
http://mail.python.org/mailman/listinfo/python-list