hyb
2025-11-18 7539e6f48c75dcaeb808359cccfd1c0d0d182ce8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from io import StringIO
from typing import assert_type
 
import numpy as np
import numpy.lib.array_utils as array_utils
import numpy.typing as npt
 
AR: npt.NDArray[np.float64]
AR_DICT: dict[str, npt.NDArray[np.float64]]
FILE: StringIO
 
def func(a: int) -> bool: ...
 
assert_type(array_utils.byte_bounds(AR), tuple[int, int])
assert_type(array_utils.byte_bounds(np.float64()), tuple[int, int])
 
assert_type(np.info(1, output=FILE), None)