Skip to content

Commit edab55d

Browse files
committed
Merge pull request yasoob#19 from MrMattBusby/patch-1
Update collections for defaultDict typo
2 parents 96c474d + eecd06b commit edab55d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

collections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ not. So we can do:
3434
3535
favourite_colours = defaultdict(list)
3636
37-
for name, colour in order:
37+
for name, colour in colours:
3838
favourite_colours[name].append(colour)
3939
4040
print(favourite_colours)

0 commit comments

Comments
 (0)