1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-06-19 08:39:59 +02:00

Fix method return type

This commit is contained in:
Benjamin Rosemann 2020-11-19 11:24:38 +01:00
parent e371da899e
commit 082e30822f

View file

@ -123,7 +123,9 @@ def transform_lists(l1: List, l2: List) -> Tuple[str, str]:
return s1, s2
def transform_unicode(s1: str, s2: str) -> Union[Tuple[str, str], Tuple[List[str]]]:
def transform_unicode(
s1: str, s2: str
) -> Union[Tuple[str, str], Tuple[List[str], List[str]]]:
"""Transform two text sequences to unicode representation.
Normalize to unicode and decides whether we have wide chars