From bb34344242097b95db2be2e938c0ce14db225db3 Mon Sep 17 00:00:00 2001 From: Bas van Beek Date: Sun, 25 Apr 2021 14:17:42 +0200 Subject: ENH: Add improved placeholder annotations for `np.lib` --- numpy/lib/utils.pyi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 numpy/lib/utils.pyi (limited to 'numpy/lib/utils.pyi') 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): ... -- cgit v1.2.1