diff options
author | Éric Araujo <merwok@netwok.org> | 2011-08-19 00:14:03 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-08-19 00:14:03 (GMT) |
commit | 29a0b57e4ed19532dc78dbf08b957c85bfbafbd6 (patch) | |
tree | b7fae5150cb2e44679947e109e68eb2a05076f7d /Doc/library/userdict.rst | |
parent | d478a46d563413d51a730678e4c72a54d2881123 (diff) | |
download | cpython-29a0b57e4ed19532dc78dbf08b957c85bfbafbd6.zip cpython-29a0b57e4ed19532dc78dbf08b957c85bfbafbd6.tar.gz cpython-29a0b57e4ed19532dc78dbf08b957c85bfbafbd6.tar.bz2 |
Backport source links from 3.x.
Existing links have been updated to use the new reST role. In some
files, I have also made cosmetic changes to the header.
Diffstat (limited to 'Doc/library/userdict.rst')
-rw-r--r-- | Doc/library/userdict.rst | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Doc/library/userdict.rst b/Doc/library/userdict.rst index ab9ab04..1c75674 100644 --- a/Doc/library/userdict.rst +++ b/Doc/library/userdict.rst @@ -1,4 +1,3 @@ - :mod:`UserDict` --- Class wrapper for dictionary objects ======================================================== @@ -6,6 +5,10 @@ :synopsis: Class wrapper for dictionary objects. +**Source code:** :source:`Lib/UserDict.py` + +-------------- + The module defines a mixin, :class:`DictMixin`, defining all dictionary methods for classes that already have a minimum mapping interface. This greatly simplifies writing classes that need to be substitutable for dictionaries (such @@ -19,11 +22,6 @@ available starting with Python version 2.2). Prior to the introduction of sub-classes that obtained new behaviors by overriding existing methods or adding new ones. -.. seealso:: - - Latest version of the `UserDict Python source code - <http://svn.python.org/view/python/branches/release27-maint/Lib/UserDict.py?view=markup>`_ - The :mod:`UserDict` module defines the :class:`UserDict` class and :class:`DictMixin`: |