Skip to content

Commit

Permalink
Merge pull request #19 from MrMattBusby/patch-1
Browse files Browse the repository at this point in the history
Update collections for defaultDict typo
  • Loading branch information
yasoob committed Aug 17, 2015
2 parents 96c474d + eecd06b commit edab55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ not. So we can do:
favourite_colours = defaultdict(list)
for name, colour in order:
for name, colour in colours:
favourite_colours[name].append(colour)
print(favourite_colours)
Expand Down

0 comments on commit edab55d

Please sign in to comment.