summaryrefslogtreecommitdiff
path: root/numpy/core/multiarray.pyi
diff options
context:
space:
mode:
authorDeveloper-Ecosystem-Engineering <65677710+Developer-Ecosystem-Engineering@users.noreply.github.com>2021-11-18 14:31:58 -0800
committerGitHub <noreply@github.com>2021-11-18 14:31:58 -0800
commit5e9ce0c0529e3085498ac892941a020a65c7369a (patch)
treea70d9e941549b4a51b493f1b170ef33ce0d5a217 /numpy/core/multiarray.pyi
parent2ff7ab64d4e7d5928e96ca95b85350aa9caa2b63 (diff)
parent056abda14dab7fa8daf7a1ab44144aeb2250c216 (diff)
downloadnumpy-5e9ce0c0529e3085498ac892941a020a65c7369a.tar.gz
Merge branch 'numpy:main' into as_min_max
Diffstat (limited to 'numpy/core/multiarray.pyi')
-rw-r--r--numpy/core/multiarray.pyi11
1 files changed, 6 insertions, 5 deletions
diff --git a/numpy/core/multiarray.pyi b/numpy/core/multiarray.pyi
index 1f3792ecb..a9f68e181 100644
--- a/numpy/core/multiarray.pyi
+++ b/numpy/core/multiarray.pyi
@@ -50,6 +50,7 @@ from numpy import (
_ModeKind,
_SupportsBuffer,
_IOProtocol,
+ _CopyMode,
_NDIterFlagsKind,
_NDIterOpFlagsKind,
)
@@ -177,7 +178,7 @@ def array(
object: _ArrayType,
dtype: None = ...,
*,
- copy: bool = ...,
+ copy: bool | _CopyMode = ...,
order: _OrderKACF = ...,
subok: L[True],
ndmin: int = ...,
@@ -188,7 +189,7 @@ def array(
object: _ArrayLike[_SCT],
dtype: None = ...,
*,
- copy: bool = ...,
+ copy: bool | _CopyMode = ...,
order: _OrderKACF = ...,
subok: bool = ...,
ndmin: int = ...,
@@ -199,7 +200,7 @@ def array(
object: object,
dtype: None = ...,
*,
- copy: bool = ...,
+ copy: bool | _CopyMode = ...,
order: _OrderKACF = ...,
subok: bool = ...,
ndmin: int = ...,
@@ -210,7 +211,7 @@ def array(
object: Any,
dtype: _DTypeLike[_SCT],
*,
- copy: bool = ...,
+ copy: bool | _CopyMode = ...,
order: _OrderKACF = ...,
subok: bool = ...,
ndmin: int = ...,
@@ -221,7 +222,7 @@ def array(
object: Any,
dtype: DTypeLike,
*,
- copy: bool = ...,
+ copy: bool | _CopyMode = ...,
order: _OrderKACF = ...,
subok: bool = ...,
ndmin: int = ...,