Note:This module is available for backward compatibility only. Ifyou are writing code that does not need to work with versions ofPython earlier than Python 2.2, please consider subclassing directlyfrom the built-indict type.
This module defines a class that acts as a wrapper arounddictionary objects. It is a useful base class foryour own dictionary-like classes, which can inherit fromthem and override existing methods or add new ones. In this way onecan add new behaviors to dictionaries.
TheUserDict module defines theUserDict class:
In addition to supporting the methods and operations of mappings (seesection2.2.7),UserDict instances provide thefollowing attribute:
| Python Library Reference |