Inzynierka/Lib/site-packages/numpy/_typing/_shape.py
2023-06-02 12:51:02 +02:00

7 lines
191 B
Python

from typing import Sequence, Tuple, Union, SupportsIndex
_Shape = Tuple[int, ...]
# Anything that can be coerced to a shape tuple
_ShapeLike = Union[SupportsIndex, Sequence[SupportsIndex]]