/opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/_typing
NameSizeModeActions
__pycache__/-0755rm
setup.py3370644editdlrm
_add_docstring.py39220644editdlrm
_array_like.py42380644editdlrm
_callable.pyi111210644editdlrm
_char_codes.py59160644editdlrm
_dtype_like.py56610644editdlrm
_extended_precision.py7770644editdlrm
_nbit.py3450644editdlrm
_nested_sequence.py27240644editdlrm
_scalars.py9800644editdlrm
_shape.py2110644editdlrm
_ufunc.pyi126380644editdlrm
__init__.py70030644editdlrm
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/_typing/_scalars.py (980B)
from typing import Union, Any import numpy as np # NOTE: `_StrLike_co` and `_BytesLike_co` are pointless, as `np.str_` and # `np.bytes_` are already subclasses of their builtin counterpart _CharLike_co = Union[str, bytes] # The 6 `Like_co` type-aliases below represent all scalars that can be # coerced into `` (with the casting rule `same_kind`) _BoolLike_co = Union[bool, np.bool_] _UIntLike_co = Union[_BoolLike_co, np.unsignedinteger[Any]] _IntLike_co = Union[_BoolLike_co, int, np.integer[Any]] _FloatLike_co = Union[_IntLike_co, float, np.floating[Any]] _ComplexLike_co = Union[_FloatLike_co, complex, np.complexfloating[Any, Any]] _TD64Like_co = Union[_IntLike_co, np.timedelta64] _NumberLike_co = Union[int, float, complex, np.number[Any], np.bool_] _ScalarLike_co = Union[ int, float, complex, str, bytes, np.generic, ] # `_VoidLike_co` is technically not a scalar, but it's close enough _VoidLike_co = Union[tuple[Any, ...], np.void]