summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hawkins <phawkins@google.com>2023-03-03 15:43:13 +0000
committerPeter Hawkins <phawkins@google.com>2023-03-03 15:43:13 +0000
commit2e5f1dfc56a3864913983cb241c27b6201f4a5af (patch)
tree2f854acc4736a2c0396a45527ca89d1d0b5c307f
parent0f759540e8f6ac212bf5644666ec0b5b349960c0 (diff)
downloadnumpy-2e5f1dfc56a3864913983cb241c27b6201f4a5af.tar.gz
Replace duplicate reduce in ufunc type signature with reduceat.
Presumably this is a typo: ufuncs have both reduce and reduceat.
-rw-r--r--numpy/__init__.pyi2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/__init__.pyi b/numpy/__init__.pyi
index a42e6c0e4..2b1ec4c1e 100644
--- a/numpy/__init__.pyi
+++ b/numpy/__init__.pyi
@@ -3211,7 +3211,7 @@ class ufunc:
# can't type them very precisely.
reduce: Any
accumulate: Any
- reduce: Any
+ reduceat: Any
outer: Any
# Similarly at won't be defined for ufuncs that return multiple
# outputs, so we can't type it very precisely.