summaryrefslogtreecommitdiff
path: root/numpy/rec.pyi
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/rec.pyi')
-rw-r--r--numpy/rec.pyi71
1 files changed, 62 insertions, 9 deletions
diff --git a/numpy/rec.pyi b/numpy/rec.pyi
index 883e2dd5b..198636058 100644
--- a/numpy/rec.pyi
+++ b/numpy/rec.pyi
@@ -1,12 +1,65 @@
-from typing import Any, List
+from typing import List
+
+from numpy import (
+ format_parser as format_parser,
+ record as record,
+ recarray as recarray,
+)
__all__: List[str]
-record: Any
-recarray: Any
-format_parser: Any
-fromarrays: Any
-fromrecords: Any
-fromstring: Any
-fromfile: Any
-array: Any
+def fromarrays(
+ arrayList,
+ dtype=...,
+ shape=...,
+ formats=...,
+ names=...,
+ titles=...,
+ aligned=...,
+ byteorder=...,
+): ...
+def fromrecords(
+ recList,
+ dtype=...,
+ shape=...,
+ formats=...,
+ names=...,
+ titles=...,
+ aligned=...,
+ byteorder=...,
+): ...
+def fromstring(
+ datastring,
+ dtype=...,
+ shape=...,
+ offset=...,
+ formats=...,
+ names=...,
+ titles=...,
+ aligned=...,
+ byteorder=...,
+): ...
+def fromfile(
+ fd,
+ dtype=...,
+ shape=...,
+ offset=...,
+ formats=...,
+ names=...,
+ titles=...,
+ aligned=...,
+ byteorder=...,
+): ...
+def array(
+ obj,
+ dtype=...,
+ shape=...,
+ offset=...,
+ strides=...,
+ formats=...,
+ names=...,
+ titles=...,
+ aligned=...,
+ byteorder=...,
+ copy=...,
+): ...