From 7b8acb52f25bda9a533276067a0e94826f8e14df Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 6 Dec 2021 09:47:01 +0100 Subject: Don't use a lambda --- 2015/13/puzzles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '2015/13/puzzles.py') diff --git a/2015/13/puzzles.py b/2015/13/puzzles.py index 33e49e1..4ef351b 100644 --- a/2015/13/puzzles.py +++ b/2015/13/puzzles.py @@ -22,7 +22,7 @@ def main() -> None: ) ) - emap: DefaultDict[str, dict[str, int]] = defaultdict(lambda: {}) + emap: DefaultDict[str, dict[str, int]] = defaultdict(dict) for entry in entries: emap[entry[0]][entry[3]] = entry[2] # START PART 2 -- cgit v1.2.3