mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Fix markup.
This commit is contained in:
parent
d4b02e91ab
commit
4bbde72440
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue