summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2021-03-18 19:08:23 -0500
committerSebastian Berg <sebastian@sipsolutions.net>2021-03-18 19:08:23 -0500
commit6b840a49345fc3c90e1c49e10b1ddc946abbf2b8 (patch)
tree9067615207276360d0a73f5e61caf091bedbb717
parent0ea47e1901d08cad5fba9cba6ddb40a9ed947bd8 (diff)
downloadnumpy-6b840a49345fc3c90e1c49e10b1ddc946abbf2b8.tar.gz
DOC: Add TODO comment that `asarray` stubs will need moving
-rw-r--r--numpy/core/_asarray.pyi4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/_asarray.pyi b/numpy/core/_asarray.pyi
index 8c200ba22..ee21fc0f1 100644
--- a/numpy/core/_asarray.pyi
+++ b/numpy/core/_asarray.pyi
@@ -11,6 +11,10 @@ else:
_ArrayType = TypeVar("_ArrayType", bound=ndarray)
+# TODO: The following functions are now defined in C, so should be defined
+# in a (not yet existing) `multiarray.pyi`.
+# (with the exception of `require`)
+
def asarray(
a: object,
dtype: DTypeLike = ...,