Skip to content

Commit a02158d

Browse files
author
Mallory Brickerd
committed
chore: partial function rename
1 parent f2dbda0 commit a02158d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_2025/solutions/day02.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ def part1(self, data: list[str]) -> int:
6767
-------
6868
int: Solution for part 1 of the puzzle
6969
"""
70-
check_for_two_repeats = partial(self.has_repeated_sequence, num_repeats=2)
71-
return self.solve_part(data, check_for_two_repeats)
70+
check_func = partial(self.has_repeated_sequence, num_repeats=2)
71+
return self.solve_part(data, check_func)
7272

7373
def part2(self, data: list[str]) -> int:
7474
"""Solve the second part of the daily puzzle.

0 commit comments

Comments
 (0)