Commit 7e33663e authored by Raymond Hettinger's avatar Raymond Hettinger

Add advice on choosing between DictMixin and MutableMapping

parent d53f1c4d
...@@ -68,6 +68,8 @@ provide the following attribute: ...@@ -68,6 +68,8 @@ provide the following attribute:
Since the mixin has no knowledge of the subclass constructor, it does not define Since the mixin has no knowledge of the subclass constructor, it does not define
:meth:`__init__` or :meth:`copy`. :meth:`__init__` or :meth:`copy`.
Starting with Python version 2.6, it is recommended to use
:class:`collections.MutableMapping` instead of :class:`DictMixin`.
:mod:`UserList` --- Class wrapper for list objects :mod:`UserList` --- Class wrapper for list objects
================================================== ==================================================
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment