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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy