mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-44490: Improve typing module compatibility with types.Union (GH-27048)
This commit is contained in:
parent
f783428a23
commit
bf89ff96e6
5 changed files with 40 additions and 7 deletions
|
@ -58,3 +58,5 @@ def dec(func):
|
|||
def wrapper(*args, **kwargs):
|
||||
return func(*args, **kwargs)
|
||||
return wrapper
|
||||
|
||||
u: int | float
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue