Skip to content

Commit 97d6bff

Browse files
committed
refactor(aoc_run): rename module parameter to func in _run method
Renamed the parameter `module` to `func` in the `_run` method to better reflect its purpose as a callable function. This improves code readability and consistency.
1 parent 3176124 commit 97d6bff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aoc_run.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ def handle(self):
8383
print()
8484

8585
@perf
86-
def _run(self, module, input_data):
87-
return module(input_data)
86+
def _run(self, func, input_data):
87+
return func(input_data)
8888

8989

9090
if __name__ == "__main__":

0 commit comments

Comments
 (0)