blob: 4f1204e47c6a20012e729514fdd78424126d45b8 (
plain)
1
2
3
4
5
6
7
|
from collections.abc import Sequence
from typing import Union, SupportsIndex
_Shape = tuple[int, ...]
# Anything that can be coerced to a shape tuple
_ShapeLike = Union[SupportsIndex, Sequence[SupportsIndex]]
|