summaryrefslogtreecommitdiff
path: root/modules/input_handlers/stdin_input.py
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-11-27 22:50:09 +0100
committerBotond Hende <nettingman@gmail.com>2024-11-27 22:50:09 +0100
commit9a79c535edb655ca490c2b231aad2466951caf7f (patch)
treefde5a6f8460c807c1562df160b13842e8a212f93 /modules/input_handlers/stdin_input.py
parent965c0e3401a4743c4f5e91e2368fd04b0b24aa02 (diff)
added typehints for return values
Diffstat (limited to 'modules/input_handlers/stdin_input.py')
-rw-r--r--modules/input_handlers/stdin_input.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/input_handlers/stdin_input.py b/modules/input_handlers/stdin_input.py
index 5c50511..a18273f 100644
--- a/modules/input_handlers/stdin_input.py
+++ b/modules/input_handlers/stdin_input.py
@@ -4,10 +4,10 @@ from modules.input_handlers.input_handler import InputHandler
class StdinInput(InputHandler):
- def cleanup(self):
+ def cleanup(self) -> None:
pass
- def get_input(self):
+ def get_input(self) -> str:
for line in sys.stdin:
line = line.strip()
if not line: