Skip to content

Commit

Permalink
doh: can't have type hints in this branch
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Mar 15, 2024
1 parent 49a3121 commit d25cf29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/add_build_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def get_platform_name():
return sys.platform


def alnum(v: str | bytes) -> str:
def alnum(v):
return "".join(v for v in filter(str.isalnum, bytestostr(v)))


Expand Down

0 comments on commit d25cf29

Please sign in to comment.