question on __dict__

Markus Jais mjais at web.de
Thu Nov 22 12:52:34 CET 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