@mytec: pushed back before 1.1

This commit is contained in:
lazard36
2026-01-30 20:12:52 +00:00
parent d6988e370e
commit e8ae5bc1db
5228 changed files with 1191766 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
from typing import overload
__all__ = [
"ComplexWarning",
"VisibleDeprecationWarning",
"ModuleDeprecationWarning",
"TooHardError",
"AxisError",
"DTypePromotionError",
]
class ComplexWarning(RuntimeWarning): ...
class ModuleDeprecationWarning(DeprecationWarning): ...
class VisibleDeprecationWarning(UserWarning): ...
class RankWarning(RuntimeWarning): ...
class TooHardError(RuntimeError): ...
class DTypePromotionError(TypeError): ...
class AxisError(ValueError, IndexError):
__slots__ = "_msg", "axis", "ndim"
axis: int | None
ndim: int | None
@overload
def __init__(self, axis: str, ndim: None = None, msg_prefix: None = None) -> None: ...
@overload
def __init__(self, axis: int, ndim: int, msg_prefix: str | None = None) -> None: ...