bpo-44490: Improve typing module compatibility with types.Union (GH-27048)

This commit is contained in:
Yurii Karabas 2021-07-17 06:33:40 +03:00 committed by GitHub
parent f783428a23
commit bf89ff96e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 40 additions and 7 deletions

View file

@ -58,3 +58,5 @@ def dec(func):
def wrapper(*args, **kwargs):
return func(*args, **kwargs)
return wrapper
u: int | float