Remove obsolete OptExcInfo from sys (#13117)

This commit is contained in:
Konstantin Baikov
2024-11-26 09:10:56 +01:00
committed by GitHub
parent 410081e820
commit 02533d13ea
3 changed files with 4 additions and 5 deletions

View File

@@ -12,7 +12,6 @@ _T = TypeVar("_T")
# see https://github.com/python/typeshed/issues/8513#issue-1333671093 for the rationale behind this alias
_ExitCode: TypeAlias = str | int | None
_OptExcInfo: TypeAlias = OptExcInfo # noqa: Y047 # TODO: obsolete, remove fall 2022 or later
# ----- sys variables -----
if sys.platform != "win32":