UserDict deprecated
Alex Martelli
aleaxit at yahoo.com
Sat Jan 1 17:38:53 EST 2005
Uwe Mayer <merkosh at hadiko.de> wrote:
...
> If I used UserDict I would not need to specify all methods UserDict provides
> alreay, anyway.
The DictMixin class from the UserDict module is *not* deprecated -- only
the UserDict class from the same module. (If you found info saying
otherwise pls provide a URL: the info is wrong and I'll try to get it
fixed -- thanks!). DictMixin's purpose is exactly as you state: letting
you make a complete mapping class out of one which only supplies the
very basics, by mix-in inheritance.
Alex
More information about the Python-list
mailing list