mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
gh-86178: wsgiref.types: Add missing TypeAlias annotations (GH-91608)
This commit is contained in:
parent
9f06ff96cc
commit
25af5ea40f
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ __all__ = [
|
||||||
"FileWrapper",
|
"FileWrapper",
|
||||||
]
|
]
|
||||||
|
|
||||||
_ExcInfo = tuple[type[BaseException], BaseException, TracebackType]
|
_ExcInfo: TypeAlias = tuple[type[BaseException], BaseException, TracebackType]
|
||||||
_OptExcInfo = _ExcInfo | tuple[None, None, None]
|
_OptExcInfo: TypeAlias = _ExcInfo | tuple[None, None, None]
|
||||||
|
|
||||||
class StartResponse(Protocol):
|
class StartResponse(Protocol):
|
||||||
"""start_response() callable as defined in PEP 3333"""
|
"""start_response() callable as defined in PEP 3333"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue