blob: da24cd57cb0e86af13eca04947f1daf42b5cd50e [file] [log] [blame]
Joey Armstrong50895b82023-09-14 16:44:28 -04001--- staging/lib/python3.10/site-packages/sphinx/util/typing.py 2023-09-14 16:25:24.179214865 -0400
2+++ .venv/lib/python3.10/site-packages/sphinx/util/typing.py 2023-09-14 16:22:16.545588690 -0400
3@@ -34,14 +34,7 @@
Joey Armstrong36592e32022-11-28 09:00:28 -05004 return ref._eval_type(globalns, localns)
5
6 if sys.version_info > (3, 10):
7-
Joey Armstrong50895b82023-09-14 16:44:28 -04008- try: # ver >= 3.10.12
9- from typing import Union as types_Union
Joey Armstrong36592e32022-11-28 09:00:28 -050010- except ImportError:
Joey Armstrong50895b82023-09-14 16:44:28 -040011- try: # ver >= 3.10.6
Joey Armstrong36592e32022-11-28 09:00:28 -050012- from types import Union as types_Union
13- except ImportError:
14- types_Union = None
Joey Armstrong36592e32022-11-28 09:00:28 -050015+ from types import Union as types_Union
16 else:
17 types_Union = None
18