...
This commit is contained in:
parent
e5e8cc72c6
commit
36631ddc49
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user