Fix typo: Set -> set (#528)
This commit is contained in:
parent
ef80de4d18
commit
6905c6ce66
|
@ -39,7 +39,7 @@ Memory is conserved by using a generator expression instead::
|
|||
|
||||
Similar benefits are conferred on constructors for container objects::
|
||||
|
||||
s = Set(word for line in page for word in line.split())
|
||||
s = set(word for line in page for word in line.split())
|
||||
d = dict( (k, func(k)) for k in keylist)
|
||||
|
||||
Generator expressions are especially useful with functions like sum(),
|
||||
|
|
Loading…
Reference in New Issue