From 25af5ea40f286df0a578c738c67ab54faceda90a Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Sat, 16 Apr 2022 22:37:02 +0200 Subject: gh-86178: wsgiref.types: Add missing TypeAlias annotations (GH-91608) --- Lib/wsgiref/types.py | 4 ++-- 1 file 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""" -- cgit v0.12