Skip to content

Commit a5d62bd

Browse files
authored
Merge pull request yidao620c#248 from shispt/master
修正错别字
2 parents 2454ef3 + e0249c3 commit a5d62bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c01/p19_transform_and_reduce_data_same_time.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
.. code-block:: python
5252
53-
s = sum((x * x for x in nums)) # 显示的传递一个生成器表达式对象
53+
s = sum((x * x for x in nums)) # 显式的传递一个生成器表达式对象
5454
s = sum(x * x for x in nums) # 更加优雅的实现方式,省略了括号
5555
5656
使用一个生成器表达式作为参数会比先创建一个临时列表更加高效和优雅。

0 commit comments

Comments
 (0)