summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2021-07-01 18:10:33 +0200
committerBas van Beek <b.f.van.beek@vu.nl>2021-07-09 10:32:32 +0200
commitce4d7437c06f90306c77c0c020604547f290d019 (patch)
tree9e96ef06f421a37d47ad4c6789023841c9f2928e /numpy
parent151182bac5fe9c2a03f024091356e2984d79651a (diff)
downloadnumpy-ce4d7437c06f90306c77c0c020604547f290d019.tar.gz
ENH: Add annotations for `np.show_config`
Diffstat (limited to 'numpy')
-rw-r--r--numpy/__init__.pyi3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/__init__.pyi b/numpy/__init__.pyi
index ccaca3150..944ece9ff 100644
--- a/numpy/__init__.pyi
+++ b/numpy/__init__.pyi
@@ -887,7 +887,6 @@ class vectorize:
) -> None: ...
def __call__(self, *args: Any, **kwargs: Any) -> Any: ...
-def show_config(): ...
# Some of these are aliases; others are wrappers with an identical signature
round = around
round_ = around
@@ -898,6 +897,8 @@ cumproduct = cumprod
sometrue = any
alltrue = all
+def show_config() -> None: ...
+
# TODO: Sort out which parameters are positional-only
def nested_iters(*args, **kwargs): ... # TODO: Sort out parameters