Skip to content

Commit fd76bfb

Browse files
committed
typo
1 parent 4d83951 commit fd76bfb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

source/c10/c10_12.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ MING.send('香肠')
6767

6868

6969

70-
仔细观察一下,上面两段代码并没有太大的区别,我们将主要关注点集中在 `yidld` 关键词上。
70+
仔细观察一下,上面两段代码并没有太大的区别,我们将主要关注点集中在 `yield` 关键词上。
7171

7272
可以发现,生成器里 `yield` 左边并没有变量,而在协程里,`yield` 左边有一个变量。
7373

source/c10/c10_12.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
小明 吃完香肠了
6868

6969
仔细观察一下,上面两段代码并没有太大的区别,我们将主要关注点集中在
70-
``yidld`` 关键词上。
70+
``yield`` 关键词上。
7171

7272
可以发现,生成器里 ``yield`` 左边并没有变量,而在协程里,\ ``yield``
7373
左边有一个变量。

0 commit comments

Comments
 (0)