question on __dict__

Markus Jais mjais at web.de
Thu Nov 22 06:52:34 EST 2001


hello
can somebody tell me, what the difference is between

self.__dict__('foo') = 'bar'
and
self.foo = 'bar'

or is there no difference?

thanks

markus



More information about the Python-list mailing list