Subclassing Python's dict

Raymond Hettinger python at rcn.com
Thu Aug 6 16:47:13 EDT 2009


> Are you referring to Python 3.0?  Python 2.6 does not have
> collections.UserDict

In Python2.6, it is in its own module.

    >>> from UserDict import UserDict


Raymond



More information about the Python-list mailing list