Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 25af5ea

Browse files
authored
gh-86178: wsgiref.types: Add missing TypeAlias annotations (GH-91608)
1 parent 9f06ff9 commit 25af5ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/wsgiref/types.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"FileWrapper",
1414
]
1515

16-
_ExcInfo = tuple[type[BaseException], BaseException, TracebackType]
17-
_OptExcInfo = _ExcInfo | tuple[None, None, None]
16+
_ExcInfo: TypeAlias = tuple[type[BaseException], BaseException, TracebackType]
17+
_OptExcInfo: TypeAlias = _ExcInfo | tuple[None, None, None]
1818

1919
class StartResponse(Protocol):
2020
"""start_response() callable as defined in PEP 3333"""

0 commit comments

Comments
 (0)