Class Variable Question

Robert Johnson rjohnson at exotic-eo.com
Wed Apr 11 08:20:39 EDT 2001


>     mapInstance.newVariable = 5
> boils down to nothing more than
>     mapInstance.__dict__['newVariable'] = 5
>
I think this is what I was not seeing.

Thanks,

Robert Johnson





More information about the Python-list mailing list