summaryrefslogtreecommitdiffstats
path: root/Lib/test/ann_module.py
diff options
context:
space:
mode:
authorYurii Karabas <1998uriyyo@gmail.com>2021-07-17 03:33:40 (GMT)
committerGitHub <noreply@github.com>2021-07-17 03:33:40 (GMT)
commitbf89ff96e6ba21bb52b8597b5e51e8ffc57e6589 (patch)
tree9ffa39f9f8ad5786e7dd4dccc5b69118fa66077d /Lib/test/ann_module.py
parentf783428a2313a729ca8b539c5a86ff114b9ff375 (diff)
downloadcpython-bf89ff96e6ba21bb52b8597b5e51e8ffc57e6589.zip
cpython-bf89ff96e6ba21bb52b8597b5e51e8ffc57e6589.tar.gz
cpython-bf89ff96e6ba21bb52b8597b5e51e8ffc57e6589.tar.bz2
bpo-44490: Improve typing module compatibility with types.Union (GH-27048)
Diffstat (limited to 'Lib/test/ann_module.py')
-rw-r--r--Lib/test/ann_module.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/ann_module.py b/Lib/test/ann_module.py
index 0567d6d..5081e6b 100644
--- a/Lib/test/ann_module.py
+++ b/Lib/test/ann_module.py
@@ -58,3 +58,5 @@ def dec(func):
def wrapper(*args, **kwargs):
return func(*args, **kwargs)
return wrapper
+
+u: int | float