_shape.py 191 B

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