summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2021-10-25 11:48:02 +0200
committerBas van Beek <b.f.van.beek@vu.nl>2021-10-25 12:20:15 +0200
commit1b3a7cd32bcfd4d644760e5ffd2aafb73fc3448d (patch)
treeaee7ce82b675a3e75832d9ee9fb374cc57a9ea6f /numpy
parent6b02a0e637aa7db4f48e9c711310e732bab3813d (diff)
downloadnumpy-1b3a7cd32bcfd4d644760e5ffd2aafb73fc3448d.tar.gz
MAINT: Remove the default `memo` value of `ndarray.__deepcopy__`
Diffstat (limited to 'numpy')
-rw-r--r--numpy/__init__.pyi2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/__init__.pyi b/numpy/__init__.pyi
index 347a66d27..4c78179de 100644
--- a/numpy/__init__.pyi
+++ b/numpy/__init__.pyi
@@ -994,9 +994,9 @@ class _ArrayOrScalarCommon:
def __str__(self) -> str: ...
def __repr__(self) -> str: ...
def __copy__(self: _ArraySelf) -> _ArraySelf: ...
- def __deepcopy__(self: _ArraySelf, memo: None | dict = ..., /) -> _ArraySelf: ...
def __eq__(self, other): ...
def __ne__(self, other): ...
+ def __deepcopy__(self: _ArraySelf, memo: None | Dict[int, Any], /) -> _ArraySelf: ...
def copy(self: _ArraySelf, order: _OrderKACF = ...) -> _ArraySelf: ...
def dump(self, file: str | bytes | os.PathLike[str] | os.PathLike[bytes] | _SupportsWrite[bytes]) -> None: ...
def dumps(self) -> bytes: ...