summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-04-12 00:57:21 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-04-12 00:57:21 (GMT)
commit4bbde72440018d857e2abfd1165f763bcacce469 (patch)
treef1fb172284856d11ba25f711602fafb34d7b52d1 /Doc/library/collections.rst
parentd4b02e91aba2dfc57608d4400cd267b18a9e498a (diff)
downloadcpython-4bbde72440018d857e2abfd1165f763bcacce469.zip
cpython-4bbde72440018d857e2abfd1165f763bcacce469.tar.gz
cpython-4bbde72440018d857e2abfd1165f763bcacce469.tar.bz2
Fix markup.
Diffstat (limited to 'Doc/library/collections.rst')
-rw-r--r--Doc/library/collections.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 587d634..21b0924 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -60,9 +60,9 @@ The class can be used to simulate nested scopes and is useful in templating.
Lookups search the underlying mappings successively until a key is found. In
contrast, writes, updates, and deletions only operate on the first mapping.
- A class:`ChainMap` incorporates the underlying mappings by reference. So, if
+ A :class:`ChainMap` incorporates the underlying mappings by reference. So, if
one of the underlying mappings gets updated, those changes will be reflected
- in class:`ChainMap`.
+ in :class:`ChainMap`.
All of the usual dictionary methods are supported. In addition, there is a
*maps* attribute, a method for creating new subcontexts, and a property for