up follow livre
This commit is contained in:
parent
b4b4398bb0
commit
3a7a3849ae
12242 changed files with 2564461 additions and 6914 deletions
25
venv/lib/python3.13/site-packages/numpy/exceptions.pyi
Normal file
25
venv/lib/python3.13/site-packages/numpy/exceptions.pyi
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
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):
|
||||
axis: int | None
|
||||
ndim: int | None
|
||||
@overload
|
||||
def __init__(self, axis: str, ndim: None = ..., msg_prefix: None = ...) -> None: ...
|
||||
@overload
|
||||
def __init__(self, axis: int, ndim: int, msg_prefix: str | None = ...) -> None: ...
|
||||
Loading…
Add table
Add a link
Reference in a new issue