py3.8 support

This commit is contained in:
Kovid Goyal
2023-10-14 07:52:02 +05:30
parent 56063b96fd
commit e6ef2fceea
7 changed files with 8 additions and 7 deletions

View File

@@ -834,7 +834,7 @@ def generate_ssh_kitten_data() -> None:
write_compressed_data(buf.getvalue(), d)
def main(args: list[str]=sys.argv) -> None:
def main(args: List[str]=sys.argv) -> None:
with replace_if_needed('constants_generated.go') as f:
f.write(generate_constants())
with replace_if_needed('tools/utils/style/color-names_generated.go') as f: