diff options
author | Sebastian Rittau <srittau@rittau.biz> | 2022-04-16 20:37:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-16 20:37:02 (GMT) |
commit | 25af5ea40f286df0a578c738c67ab54faceda90a (patch) | |
tree | d20f721031840a4ac813158ce8d8598d426e7fd4 /Lib/wsgiref | |
parent | 9f06ff96ccbda25c447b6a6f94082ea1e7784d96 (diff) | |
download | cpython-25af5ea40f286df0a578c738c67ab54faceda90a.zip cpython-25af5ea40f286df0a578c738c67ab54faceda90a.tar.gz cpython-25af5ea40f286df0a578c738c67ab54faceda90a.tar.bz2 |
gh-86178: wsgiref.types: Add missing TypeAlias annotations (GH-91608)
Diffstat (limited to 'Lib/wsgiref')
-rw-r--r-- | Lib/wsgiref/types.py | 4 |
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""" |