Skip to content

Commit ba0e6f8

Browse files
committed
[fix] c07/p11 高亮错误
1 parent d70fa47 commit ba0e6f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c07/p11_inline_callback_functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,6 @@
131131
实际上你会发现这个真的就是这样的,但是要解释清楚具体的控制流得需要点时间了。
132132

133133
将复杂的控制流隐藏到生成器函数背后的例子在标准库和第三方包中都能看到。
134-
比如,在``contextlib`` 中的 ``@contextmanager`` 装饰器使用了一个令人费解的技巧,
134+
比如,在 ``contextlib`` 中的 ``@contextmanager`` 装饰器使用了一个令人费解的技巧,
135135
通过一个 ``yield`` 语句将进入和离开上下文管理器粘合在一起。
136136
另外非常流行的 ``Twisted`` 包中也包含了非常类似的内联回调。

0 commit comments

Comments
 (0)