docstring -> typing

This commit is contained in:
klemek
2020-04-27 14:34:15 +02:00
parent a533b64975
commit 0e118871c1
+1 -1
View File
@@ -69,7 +69,7 @@ args_regex = re.compile('"([^"]*)"|\'([^\']*)\'|([^ ]+)')
def parse_arguments(src: str) -> List[str]:
def get_found_match(m: list):
def get_found_match(m: list) -> str:
f = [g for g in m if len(g) > 0]
if len(f) > 0:
return f[0]