Skip to content

Commit

Permalink
Merge pull request #174 from Stegallo/sourcery/2015
Browse files Browse the repository at this point in the history
2015 (Sourcery refactored)
  • Loading branch information
Stegallo authored Nov 5, 2023
2 parents c045474 + aebf730 commit 3a524cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion y_2015/day3.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def initialize(self) -> None:
self.grid: Set = {Position(0, 0).hash}

def dispatch(self, actors: List[str]) -> int:
santas = [Santa(self.grid) for i in actors]
santas = [Santa(self.grid) for _ in actors]
active_santa = 0
for command in self.__sequence:
santas[active_santa].deliver_present(command)
Expand Down

0 comments on commit 3a524cf

Please sign in to comment.