PATH: //opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/lib
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 __init__.py
↓
X
📄 __init__.pyi
↓
X
📁 __pycache__/
X
📄 _datasource.py
↓
X
📄 _iotools.py
↓
X
📄 _version.py
↓
X
📄 _version.pyi
↓
X
📄 arraypad.py
↓
X
📄 arraypad.pyi
↓
X
📄 arraysetops.py
↓
X
📄 arraysetops.pyi
↓
X
📄 arrayterator.py
↓
X
📄 arrayterator.pyi
↓
X
📄 format.py
↓
X
📄 format.pyi
↓
X
📄 function_base.py
↓
X
📄 function_base.pyi
↓
X
📄 histograms.py
↓
X
📄 histograms.pyi
↓
X
📄 index_tricks.py
↓
X
📄 index_tricks.pyi
↓
X
📄 mixins.py
↓
X
📄 mixins.pyi
↓
X
📄 nanfunctions.py
↓
X
📄 nanfunctions.pyi
↓
X
📄 npyio.py
↓
X
📄 npyio.pyi
↓
X
📄 polynomial.py
↓
X
📄 polynomial.pyi
↓
X
📄 recfunctions.py
↓
X
📄 scimath.py
↓
X
📄 scimath.pyi
↓
X
📄 setup.py
↓
X
📄 shape_base.py
↓
X
📄 shape_base.pyi
↓
X
📄 stride_tricks.py
↓
X
📄 stride_tricks.pyi
↓
X
📁 tests/
X
📄 twodim_base.py
↓
X
📄 twodim_base.pyi
↓
X
📄 type_check.py
↓
X
📄 type_check.pyi
↓
X
📄 ufunclike.py
↓
X
📄 ufunclike.pyi
↓
X
📄 user_array.py
↓
X
📄 utils.py
↓
X
📄 utils.pyi
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: arraypad.pyi
from typing import ( Literal as L, Any, overload, TypeVar, Protocol, ) from numpy import generic from numpy._typing import ( ArrayLike, NDArray, _ArrayLikeInt, _ArrayLike, ) _SCT = TypeVar("_SCT", bound=generic) class _ModeFunc(Protocol): def __call__( self, vector: NDArray[Any], iaxis_pad_width: tuple[int, int], iaxis: int, kwargs: dict[str, Any], /, ) -> None: ... _ModeKind = L[ "constant", "edge", "linear_ramp", "maximum", "mean", "median", "minimum", "reflect", "symmetric", "wrap", "empty", ] __all__: list[str] # TODO: In practice each keyword argument is exclusive to one or more # specific modes. Consider adding more overloads to express this in the future. # Expand `**kwargs` into explicit keyword-only arguments @overload def pad( array: _ArrayLike[_SCT], pad_width: _ArrayLikeInt, mode: _ModeKind = ..., *, stat_length: None | _ArrayLikeInt = ..., constant_values: ArrayLike = ..., end_values: ArrayLike = ..., reflect_type: L["odd", "even"] = ..., ) -> NDArray[_SCT]: ... @overload def pad( array: ArrayLike, pad_width: _ArrayLikeInt, mode: _ModeKind = ..., *, stat_length: None | _ArrayLikeInt = ..., constant_values: ArrayLike = ..., end_values: ArrayLike = ..., reflect_type: L["odd", "even"] = ..., ) -> NDArray[Any]: ... @overload def pad( array: _ArrayLike[_SCT], pad_width: _ArrayLikeInt, mode: _ModeFunc, **kwargs: Any, ) -> NDArray[_SCT]: ... @overload def pad( array: ArrayLike, pad_width: _ArrayLikeInt, mode: _ModeFunc, **kwargs: Any, ) -> NDArray[Any]: ...
SIMPAN PERUBAHAN