修改p20_combine_multiple_map_to_single_map.rst笔误
此处英文原版为`An easy way to do this is to use the ChainMap class from the collections module.` '扼'应为笔误,修改为'的'
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
b = {'y': 2, 'z': 4 }
|
||||
|
||||
现在假设你必须在两个字典中执行查找操作(比如先从 ``a`` 中找,如果找不到再在 ``b`` 中找)。
|
||||
一个非常简单扼解决方案就是使用 ``collections`` 模块中的 ``ChainMap`` 类。比如:
|
||||
一个非常简单的解决方案就是使用 ``collections`` 模块中的 ``ChainMap`` 类。比如:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
||||
Reference in New Issue
Block a user