numpy._core._exceptions
cleaned stubgen 1.15.0 output:
stubgen
import numpy as np from _typeshed import Incomplete from numpy._utils import set_module as set_module class UFuncTypeError(TypeError): ufunc: np.ufunc def __init__(self, /, ufunc: np.ufunc) -> None: ... class _UFuncNoLoopError(UFuncTypeError): dtypes: Incomplete def __init__(self, /, ufunc: np.ufunc, dtypes: Incomplete) -> None: ... class _UFuncBinaryResolutionError(_UFuncNoLoopError): def __init__(self, /, ufunc: np.ufunc, dtypes: Incomplete) -> None: ... class _UFuncCastingError(UFuncTypeError): casting: str from_: Incomplete to: Incomplete def __init__(self, /, ufunc: np.ufunc, casting: str, from_: Incomplete, to: Incomplete) -> None: ... class _UFuncInputCastingError(_UFuncCastingError): in_i: Incomplete def __init__(self, /, ufunc: np.ufunc, casting: str, from_: Incomplete, to: Incomplete, i: Incomplete) -> None: ... class _UFuncOutputCastingError(_UFuncCastingError): out_i: Incomplete def __init__(self, /, ufunc: np.ufunc, casting: str, from_: Incomplete, to: Incomplete, i: Incomplete) -> None: ... class _ArrayMemoryError(MemoryError): shape: tuple[int, ...] dtype: np.dtype[Incomplete] def __init__(self, /, shape: tuple[int, ...], dtype: np.dtype[Incomplete]) -> None: ... @property def _total_size(self) -> int: ... @staticmethod def _size_to_string(num_bytes: int) -> str: ... def _unpack_tuple(tup: Incomplete) -> Incomplete: ... def _display_as_base(cls: type[Exception]) -> type[Exception]: ...
Activity
jorenham commentedon Feb 10, 2025
cleaned
stubgen1.15.0 output: