DictProxy? What is this?

Fredrik Lundh fredrik at pythonware.com
Mon Jun 26 10:00:58 EDT 2006


digitalorganics at gmail.com wrote:

> When I tried to update a class's __dict__, I got an error saying that
> there is no 'update' attribute for dictproxy object. What is a
> dictproxy object?

a CPython implementation detail, used to protect an internal data structure used
by new-style objects from unexpected modifications.

</F> 






More information about the Python-list mailing list