more typing work

This commit is contained in:
Kovid Goyal
2020-03-12 15:09:21 +05:30
parent b6692849d6
commit 9f2fb76309
4 changed files with 48 additions and 33 deletions

View File

@@ -40,7 +40,7 @@ version = tuple(
map(
int,
re.search( # type: ignore
r"^version = \((\d+), (\d+), (\d+)\)", constants, re.MULTILINE
r"^version = Version\((\d+), (\d+), (\d+)\)", constants, re.MULTILINE
).group(1, 2, 3)
)
)