We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3978bdd + 2a8f35e commit 5b71b7cCopy full SHA for 5b71b7c
source/c04/p13_create_data_processing_pipelines.rst
@@ -129,7 +129,7 @@
129
130
在调用 ``gen_concatenate()`` 函数的时候你可能会有些不太明白。
131
这个函数的目的是将输入序列拼接成一个很长的行序列。
132
-``itertools.chain()`` 函数同样有类似的功能,但是它需要将所有可迭代对象最为参数传入。
+``itertools.chain()`` 函数同样有类似的功能,但是它需要将所有可迭代对象作为参数传入。
133
在上面这个例子中,你可能会写类似这样的语句 ``lines = itertools.chain(*files)`` ,
134
这将导致 ``gen_opener()`` 生成器被提前全部消费掉。
135
但由于 ``gen_opener()`` 生成器每次生成一个打开过的文件,
0 commit comments