summaryrefslogtreecommitdiff
path: root/numpy/lib/utils.pyi
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2021-04-25 14:17:42 +0200
committerBas van Beek <b.f.van.beek@vu.nl>2021-04-26 16:41:04 +0200
commitbb34344242097b95db2be2e938c0ce14db225db3 (patch)
tree66924ba276a0d8e3613c75c1dcde29936a6fa79f /numpy/lib/utils.pyi
parent775d243be65f36564580ed5fcf038f384c61ce4d (diff)
downloadnumpy-bb34344242097b95db2be2e938c0ce14db225db3.tar.gz
ENH: Add improved placeholder annotations for `np.lib`
Diffstat (limited to 'numpy/lib/utils.pyi')
-rw-r--r--numpy/lib/utils.pyi19
1 files changed, 19 insertions, 0 deletions
diff --git a/numpy/lib/utils.pyi b/numpy/lib/utils.pyi
new file mode 100644
index 000000000..5a1594149
--- /dev/null
+++ b/numpy/lib/utils.pyi
@@ -0,0 +1,19 @@
+from typing import List
+
+from numpy.core.numerictypes import (
+ issubclass_ as issubclass_,
+ issubdtype as issubdtype,
+ issubsctype as issubsctype,
+)
+
+__all__: List[str]
+
+def get_include(): ...
+def deprecate(*args, **kwargs): ...
+def deprecate_with_doc(msg): ...
+def byte_bounds(a): ...
+def who(vardict=...): ...
+def info(object=..., maxwidth=..., output=..., toplevel=...): ...
+def source(object, output=...): ...
+def lookfor(what, module=..., import_modules=..., regenerate=..., output=...): ...
+def safe_eval(source): ...