Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.10/site-packages/numpy/_typing/_shape.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

4 statements  

1from collections.abc import Sequence 

2from typing import SupportsIndex, TypeAlias 

3 

4_Shape: TypeAlias = tuple[int, ...] 

5 

6# Anything that can be coerced to a shape tuple 

7_ShapeLike: TypeAlias = SupportsIndex | Sequence[SupportsIndex]