Fix typo
This commit is contained in:
parent
851181bca6
commit
a1471d7250
|
@ -41,7 +41,7 @@ expession instead::
|
|||
Similar benefits are conferred on constructors for container objects::
|
||||
|
||||
s = Set(word for line in page for word in line.split())
|
||||
d = dict( (k, func(v)) for k in keylist)
|
||||
d = dict( (k, func(k)) for k in keylist)
|
||||
|
||||
Generator expressions are especially useful with functions like sum(),
|
||||
min(), and max() that reduce an iterable input to a single value::
|
||||
|
|
Loading…
Reference in New Issue