PATH:
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
numpy
/
core
from collections.abc import Iterable from typing import Any, TypeVar, Union, overload, Literal from numpy import ndarray from numpy._typing import DTypeLike, _SupportsArrayFunc _ArrayType = TypeVar("_ArrayType", bound=ndarray[Any, Any]) _Requirements = Literal[ "C", "C_CONTIGUOUS", "CONTIGUOUS", "F", "F_CONTIGUOUS", "FORTRAN", "A", "ALIGNED", "W", "WRITEABLE", "O", "OWNDATA" ] _E = Literal["E", "ENSUREARRAY"] _RequirementsWithE = Union[_Requirements, _E] @overload def require( a: _ArrayType, dtype: None = ..., requirements: None | _Requirements | Iterable[_Requirements] = ..., *, like: _SupportsArrayFunc = ... ) -> _ArrayType: ... @overload def require( a: object, dtype: DTypeLike = ..., requirements: _E | Iterable[_RequirementsWithE] = ..., *, like: _SupportsArrayFunc = ... ) -> ndarray[Any, Any]: ... @overload def require( a: object, dtype: DTypeLike = ..., requirements: None | _Requirements | Iterable[_Requirements] = ..., *, like: _SupportsArrayFunc = ... ) -> ndarray[Any, Any]: ...
[-] _string_helpers.py
[open]
[+]
..
[-] numerictypes.pyi
[open]
[-] _type_aliases.py
[open]
[-] multiarray.py
[open]
[-] _asarray.py
[open]
[-] arrayprint.py
[open]
[+]
__pycache__
[+]
tests
[-] _add_newdocs_scalars.py
[open]
[-] setup_common.py
[open]
[-] memmap.pyi
[open]
[-] fromnumeric.py
[open]
[-] overrides.py
[open]
[-] _machar.py
[open]
[-] _operand_flag_tests.cpython-311-x86_64-linux-gnu.so
[open]
[-] _methods.py
[open]
[-] _add_newdocs.py
[open]
[-] _asarray.pyi
[open]
[-] einsumfunc.py
[open]
[-] defchararray.pyi
[open]
[-] getlimits.py
[open]
[-] generate_numpy_api.py
[open]
[-] _ufunc_config.pyi
[open]
[-] shape_base.py
[open]
[-] _dtype_ctypes.py
[open]
[-] numerictypes.py
[open]
[-] memmap.py
[open]
[-] _rational_tests.cpython-311-x86_64-linux-gnu.so
[open]
[-] einsumfunc.pyi
[open]
[-] _internal.pyi
[open]
[-] __init__.pyi
[open]
[-] records.pyi
[open]
[-] _multiarray_tests.cpython-311-x86_64-linux-gnu.so
[open]
[-] _multiarray_umath.cpython-311-x86_64-linux-gnu.so
[open]
[-] _umath_tests.cpython-311-x86_64-linux-gnu.so
[open]
[-] _type_aliases.pyi
[open]
[-] _simd.cpython-311-x86_64-linux-gnu.so
[open]
[-] umath_tests.py
[open]
[-] _internal.py
[open]
[-] fromnumeric.pyi
[open]
[-] function_base.pyi
[open]
[-] numeric.pyi
[open]
[-] defchararray.py
[open]
[-] numeric.py
[open]
[+]
lib
[-] function_base.py
[open]
[-] multiarray.pyi
[open]
[-] _struct_ufunc_tests.cpython-311-x86_64-linux-gnu.so
[open]
[-] __init__.py
[open]
[-] _exceptions.py
[open]
[-] umath.py
[open]
[-] setup.py
[open]
[-] _dtype.py
[open]
[+]
include
[-] arrayprint.pyi
[open]
[-] getlimits.pyi
[open]
[-] _ufunc_config.py
[open]
[-] cversions.py
[open]
[-] shape_base.pyi
[open]
[-] records.py
[open]