Skip to content

Commit c98184f

Browse files
WangZhenhuaFirstxiaolai
authored andcommitted
Update Part.3.B.3.decorator-iterator-generator.ipynb
多了个被
1 parent ee057e3 commit c98184f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Part.3.B.3.decorator-iterator-generator.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@
308308
" return self\n",
309309
"```\n",
310310
"\n",
311-
"这两句是约定俗成的写法,写上它们,`Counter` 这个类就被会被识别为 Iterator 类型。而后再有 `__next__(self)` 的话,它就是个完整的迭代器了。除了可以用 `for loop` 之外,也可以用 `while loop` 去遍历迭代器中的所有元素:"
311+
"这两句是约定俗成的写法,写上它们,`Counter` 这个类就会被识别为 Iterator 类型。而后再有 `__next__(self)` 的话,它就是个完整的迭代器了。除了可以用 `for loop` 之外,也可以用 `while loop` 去遍历迭代器中的所有元素:"
312312
]
313313
},
314314
{

0 commit comments

Comments
 (0)