Files
cibuildwheel/cibuildwheel/_compat/typing.py
T

14 lines
264 B
Python
Raw Normal View History

from __future__ import annotations
2021-01-09 15:40:40 -05:00
import sys
if sys.version_info < (3, 11):
2022-10-03 23:23:11 -04:00
from typing_extensions import NotRequired, assert_never
else:
2023-04-18 22:02:47 -04:00
from typing import NotRequired, assert_never # noqa: TID251
2021-04-30 17:56:34 -04:00
__all__ = (
"assert_never",
"NotRequired",
2021-04-30 17:56:34 -04:00
)