summaryrefslogtreecommitdiffstats
path: root/Lib/wsgiref
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/wsgiref')
-rw-r--r--Lib/wsgiref/types.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/wsgiref/types.py b/Lib/wsgiref/types.py
index 4a519e5..9e74a6c 100644
--- a/Lib/wsgiref/types.py
+++ b/Lib/wsgiref/types.py
@@ -13,8 +13,8 @@ __all__ = [
"FileWrapper",
]
-_ExcInfo = tuple[type[BaseException], BaseException, TracebackType]
-_OptExcInfo = _ExcInfo | tuple[None, None, None]
+_ExcInfo: TypeAlias = tuple[type[BaseException], BaseException, TracebackType]
+_OptExcInfo: TypeAlias = _ExcInfo | tuple[None, None, None]
class StartResponse(Protocol):
"""start_response() callable as defined in PEP 3333"""