Thanks to visit codestin.com
Credit goes to github.com

Skip to content

4.12 将“最为输入参数”改为“作为输入参数” #229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 18, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/c04/p12_iterate_on_items_in_separate_containers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
----------
讨论
----------
``itertools.chain()`` 接受一个或多个可迭代对象最为输入参数
``itertools.chain()`` 接受一个或多个可迭代对象作为输入参数
然后创建一个迭代器,依次连续的返回每个可迭代对象中的元素。
这种方式要比先将序列合并再迭代要高效的多。比如:

Expand Down