]> granicus.if.org Git - python/commitdiff
Fix markup.
authorRaymond Hettinger <python@rcn.com>
Tue, 12 Apr 2011 00:57:21 +0000 (17:57 -0700)
committerRaymond Hettinger <python@rcn.com>
Tue, 12 Apr 2011 00:57:21 +0000 (17:57 -0700)
Doc/library/collections.rst

index 587d6343071b5640a33e686fedb920747272ad54..21b0924a8134d8edaff4369d5c675da9565dc557 100644 (file)
@@ -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