Skip to content

Commit 0873f54

Browse files
fixes #106
1 parent b9f8b8d commit 0873f54

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

ti_python_module/ti_system.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,13 @@ def get_key(parameter = None):
125125
"""
126126
Returns a string representing the key pressed. The '1' key returns "1", 'esc' returns "esc", and so on. When called without any parameters - get_key() - it returns immediately. When called with a parameter - get_key(1) - it waits until a key is pressed.
127127
128+
Args:
129+
parameter (any, optional): Optional Parameter. If given, waits until key is pressed. Defaults to None.
128130
129-
Default values: parameter: None
130-
131-
132-
Category: TI System
133-
134-
135-
Returns an array / list: [parameter]
131+
Returns:
132+
list: a list containing the following data: [parameter]
136133
"""
134+
log("Fetching Key-String fot '" + str(parameter) + "'", "INFO", "TI System", "Get Key")
137135
print("Fetching Key-String for '" + str(parameter) + "'")
138136
return [parameter]
139137

0 commit comments

Comments
 (0)