Fix typo: Set -> set (#528)

This commit is contained in:
Martin Broadhurst 2017-12-31 19:03:24 +00:00 committed by Chris Angelico
parent ef80de4d18
commit 6905c6ce66
1 changed files with 1 additions and 1 deletions

View File

@ -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(),