aboutsummaryrefslogtreecommitdiff
path: root/2015
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2021-12-06 09:47:01 +0100
committerThomas Voss <thomasvoss@live.com> 2021-12-06 09:47:01 +0100
commit7b8acb52f25bda9a533276067a0e94826f8e14df (patch)
treeb31bc6eaee4a4d87c51a6b4afc1c5e5e3b2a4adc /2015
parente790654a6a8db28946ba16a3203feadb699e94ca (diff)
Don't use a lambda
Diffstat (limited to '2015')
-rw-r--r--2015/13/puzzles.py2
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