Skip to content

Commit a3edcaf

Browse files
committed
修改错字, 移除自动生成的语句.
1 parent 2478849 commit a3edcaf

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

cookbook/c12/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
__author__ = 'zz'

cookbook/c12/p01_start_stop_thread.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
__author__ = 'zz'
21

32
import time
43
def countdown(n):

source/c12/p01_start_stop_thread.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
尽管他能够运行, 但是这段代码使用了与 ``threading`` 库的额外的关系.
145145
换言之, 本来你只能用配置好的线程的结果, 然而这里的技巧展现出了编写不显式依赖 ``threading`` 的代码.
146146
通过将你的代码从这样的依赖中解放出来, 使得你的代码能被其他包含或者不包含多线程的上下文使用.
147-
比如, 你获取能过运行你的代码在另一个分离的进程中, 通过 ``multiprocessing`` 模块使用:
147+
比如, 你或许可以运行你的代码在另一个分离的进程中, 通过 ``multiprocessing`` 模块使用:
148148

149149
.. code-block:: python
150150

0 commit comments

Comments
 (0)