OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
hps
/
faces
/
faces
/
lib
/
python3.10
/
site-packages
/
numpy
/
_typing
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/26/2024 01:27:22 PM
rwxr-xr-x
📄
__init__.py
6.94 KB
10/26/2024 01:27:22 PM
rw-r--r--
📁
__pycache__
-
10/26/2024 01:28:25 PM
rwxr-xr-x
📄
_add_docstring.py
3.83 KB
10/26/2024 01:27:21 PM
rw-r--r--
📄
_array_like.py
4.29 KB
10/26/2024 01:27:21 PM
rw-r--r--
📄
_callable.pyi
10.86 KB
10/26/2024 01:27:21 PM
rw-r--r--
📄
_char_codes.py
5.78 KB
10/26/2024 01:27:21 PM
rw-r--r--
📄
_dtype_like.py
5.5 KB
10/26/2024 01:27:21 PM
rw-r--r--
📄
_extended_precision.py
1.08 KB
10/26/2024 01:27:21 PM
rw-r--r--
📄
_generic_alias.py
7.3 KB
10/26/2024 01:27:22 PM
rw-r--r--
📄
_nbit.py
345 bytes
10/26/2024 01:27:22 PM
rw-r--r--
📄
_nested_sequence.py
2.64 KB
10/26/2024 01:27:22 PM
rw-r--r--
📄
_scalars.py
957 bytes
10/26/2024 01:27:22 PM
rw-r--r--
📄
_shape.py
191 bytes
10/26/2024 01:27:22 PM
rw-r--r--
📄
_ufunc.pyi
12.34 KB
10/26/2024 01:27:22 PM
rw-r--r--
📄
setup.py
337 bytes
10/26/2024 01:27:21 PM
rw-r--r--
Editing: _scalars.py
Close
from typing import Union, Tuple, 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 `<X>Like_co` type-aliases below represent all scalars that can be # coerced into `<X>` (with the casting rule `same_kind`) _BoolLike_co = Union[bool, np.bool_] _UIntLike_co = Union[_BoolLike_co, np.unsignedinteger] _IntLike_co = Union[_BoolLike_co, int, np.integer] _FloatLike_co = Union[_IntLike_co, float, np.floating] _ComplexLike_co = Union[_FloatLike_co, complex, np.complexfloating] _TD64Like_co = Union[_IntLike_co, np.timedelta64] _NumberLike_co = Union[int, float, complex, np.number, 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]