gh-86178: wsgiref.types: Add missing TypeAlias annotations (GH-91608)

This commit is contained in:
Sebastian Rittau 2022-04-16 22:37:02 +02:00 committed by GitHub
parent 9f06ff96cc
commit 25af5ea40f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"""