[Python-checkins] r60677 - python/trunk/Doc/library/userdict.rst
raymond.hettinger
python-checkins at python.org
Sat Feb 9 00:57:06 CET 2008
Author: raymond.hettinger
Date: Sat Feb 9 00:57:06 2008
New Revision: 60677
Modified:
python/trunk/Doc/library/userdict.rst
Log:
Add advice on choosing between DictMixin and MutableMapping
Modified: python/trunk/Doc/library/userdict.rst
==============================================================================
--- python/trunk/Doc/library/userdict.rst (original)
+++ python/trunk/Doc/library/userdict.rst Sat Feb 9 00:57:06 2008
@@ -68,6 +68,8 @@
Since the mixin has no knowledge of the subclass constructor, it does not define
: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
==================================================
More information about the Python-checkins
mailing list