From 6f113cadb30b031047996bb09af0bbb910eb8e70 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Sat, 16 Apr 2022 20:10:27 +0200 Subject: [PATCH] Add missing TypeAlias annotations --- 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 4a519e5682f3c8..9e74a6c7312b19 100644 --- a/Lib/wsgiref/types.py +++ b/Lib/wsgiref/types.py @@ -13,8 +13,8 @@ "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"""