mirror of
https://github.com/python/cpython.git
synced 2025-11-27 05:44:16 +00:00
Add advice on choosing between DictMixin and MutableMapping
This commit is contained in:
parent
d53f1c4d41
commit
7e33663ec4
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||||
==================================================
|
==================================================
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue