PATH:
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
numpy
/
typing
/
tests
/
data
/
reveal
from typing import Any import numpy as np a: np.flatiter[np.ndarray[Any, np.dtype[np.str_]]] reveal_type(a.base) # E: ndarray[Any, dtype[str_]] reveal_type(a.copy()) # E: ndarray[Any, dtype[str_]] reveal_type(a.coords) # E: tuple[builtins.int, ...] reveal_type(a.index) # E: int reveal_type(iter(a)) # E: Any reveal_type(next(a)) # E: str_ reveal_type(a[0]) # E: str_ reveal_type(a[[0, 1, 2]]) # E: ndarray[Any, dtype[str_]] reveal_type(a[...]) # E: ndarray[Any, dtype[str_]] reveal_type(a[:]) # E: ndarray[Any, dtype[str_]] reveal_type(a[(...,)]) # E: ndarray[Any, dtype[str_]] reveal_type(a[(0,)]) # E: str_ reveal_type(a.__array__()) # E: ndarray[Any, dtype[str_]] reveal_type(a.__array__(np.dtype(np.float64))) # E: ndarray[Any, dtype[{float64}]] a[0] = "a" a[:5] = "a" a[...] = "a" a[(...,)] = "a"
[-] npyio.pyi
[edit]
[-] dtype.pyi
[edit]
[-] comparisons.pyi
[edit]
[-] ndarray_shape_manipulation.pyi
[edit]
[-] lib_polynomial.pyi
[edit]
[-] lib_version.pyi
[edit]
[-] arithmetic.pyi
[edit]
[-] numerictypes.pyi
[edit]
[-] einsumfunc.pyi
[edit]
[-] warnings_and_errors.pyi
[edit]
[-] index_tricks.pyi
[edit]
[-] memmap.pyi
[edit]
[-] nditer.pyi
[edit]
[-] chararray.pyi
[edit]
[-] flatiter.pyi
[edit]
[-] arraypad.pyi
[edit]
[-] emath.pyi
[edit]
[-] linalg.pyi
[edit]
[-] nbit_base_example.pyi
[edit]
[-] shape_base.pyi
[edit]
[-] fromnumeric.pyi
[edit]
[-] version.pyi
[edit]
[-] scalars.pyi
[edit]
[-] datasource.pyi
[edit]
[-] constants.pyi
[edit]
[-] twodim_base.pyi
[edit]
[-] numeric.pyi
[edit]
[-] multiarray.pyi
[edit]
[-] ctypeslib.pyi
[edit]
[-] char.pyi
[edit]
[-] modules.pyi
[edit]
[-] arraysetops.pyi
[edit]
[-] lib_utils.pyi
[edit]
[-] testing.pyi
[edit]
[-] ufunclike.pyi
[edit]
[-] random.pyi
[edit]
[-] ufuncs.pyi
[edit]
[-] ndarray_conversion.pyi
[edit]
[-] fft.pyi
[edit]
[-] getlimits.pyi
[edit]
[-] stride_tricks.pyi
[edit]
[-] rec.pyi
[edit]
[-] false_positives.pyi
[edit]
[-] array_constructors.pyi
[edit]
[-] nested_sequence.pyi
[edit]
[-] type_check.pyi
[edit]
[-] matrix.pyi
[edit]
[-] mod.pyi
[edit]
[-] ndarray_misc.pyi
[edit]
[-] arrayterator.pyi
[edit]
[-] bitwise_ops.pyi
[edit]
[-] ufunc_config.pyi
[edit]
[+]
..
[-] lib_function_base.pyi
[edit]
[-] arrayprint.pyi
[edit]
[-] histograms.pyi
[edit]