diff --git a/gen-wcwidth.py b/gen-wcwidth.py index 7e64e9a4f..9fafc712c 100755 --- a/gen-wcwidth.py +++ b/gen-wcwidth.py @@ -45,7 +45,7 @@ def get_data(fname: str, folder: str = 'UCD') -> Iterable[str]: yield line -def unicode_version(): +def unicode_version() -> Tuple[int, int, int]: for line in get_data("ReadMe.txt"): m = re.search(r'Version\s+(\d+)\.(\d+)\.(\d+)', line) if m is not None: