This commit is contained in:
ton
2024-10-07 10:13:40 +07:00
parent aa1631742f
commit 3a7d696db6
9729 changed files with 1832837 additions and 161742 deletions

View File

@@ -0,0 +1,33 @@
from typing import (
Any,
TypeVar,
Protocol,
)
from numpy._core.numerictypes import (
issubdtype as issubdtype,
)
_T_contra = TypeVar("_T_contra", contravariant=True)
# A file-like object opened in `w` mode
class _SupportsWrite(Protocol[_T_contra]):
def write(self, s: _T_contra, /) -> Any: ...
__all__: list[str]
def get_include() -> str: ...
def info(
object: object = ...,
maxwidth: int = ...,
output: None | _SupportsWrite[str] = ...,
toplevel: str = ...,
) -> None: ...
def source(
object: object,
output: None | _SupportsWrite[str] = ...,
) -> None: ...
def show_runtime() -> None: ...