diff options
author | Thomas Voss <thomasvoss@live.com> | 2021-12-06 09:47:01 +0100 |
---|---|---|
committer | Thomas Voss <thomasvoss@live.com> | 2021-12-06 09:47:01 +0100 |
commit | 7b8acb52f25bda9a533276067a0e94826f8e14df (patch) | |
tree | b31bc6eaee4a4d87c51a6b4afc1c5e5e3b2a4adc | |
parent | e790654a6a8db28946ba16a3203feadb699e94ca (diff) |
Don't use a lambda
-rw-r--r-- | 2015/13/puzzles.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |