Skip to content

Commit a2bc0d9

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 6b103b4 + bdad86f commit a2bc0d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/c01/p20_combine_multiple_map_to_single_map.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
b = {'y': 2, 'z': 4 }
2020
2121
现在假设你必须在两个字典中执行查找操作(比如先从 ``a`` 中找,如果找不到再在 ``b`` 中找)。
22-
一个非常简单扼解决方案就是使用 ``collections`` 模块中的 ``ChainMap`` 类。比如:
22+
一个非常简单的解决方案就是使用 ``collections`` 模块中的 ``ChainMap`` 类。比如:
2323

2424
.. code-block:: python
2525

source/c08/p18_extending_classes_with_mixins.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
----------
9191
讨论
9292
----------
93-
混入类在标志库中很多地方都出现过,通常都是用来像上面那样扩展某些类的功能。
93+
混入类在标准库中很多地方都出现过,通常都是用来像上面那样扩展某些类的功能。
9494
它们也是多继承的一个主要用途。比如,当你编写网络代码时候,
9595
你会经常使用 ``socketserver`` 模块中的 ``ThreadingMixIn`` 来给其他网络相关类增加多线程支持。
9696
例如,下面是一个多线程的XML-RPC服务:

0 commit comments

Comments
 (0)