summaryrefslogtreecommitdiff
path: root/numpy/lib/nanfunctions.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2022-01-13 09:03:17 -0700
committerGitHub <noreply@github.com>2022-01-13 09:03:17 -0700
commitc6d95f57bff1ae390b3539bd46f1c74695b861eb (patch)
tree97539532377c89f6dd8468c82b7501f0bc8cde54 /numpy/lib/nanfunctions.py
parent5fee4748117e752c42ee489810f272b3e65dffd3 (diff)
parent58dbe260a2e41c31f1ab03e1abdb1f01da4c1edc (diff)
downloadnumpy-c6d95f57bff1ae390b3539bd46f1c74695b861eb.tar.gz
Merge pull request #20811 from DimitriPapadopoulos/repeated
MAINT, DOC: discard repeated words
Diffstat (limited to 'numpy/lib/nanfunctions.py')
-rw-r--r--numpy/lib/nanfunctions.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/numpy/lib/nanfunctions.py b/numpy/lib/nanfunctions.py
index d7ea1ca65..cf76e7909 100644
--- a/numpy/lib/nanfunctions.py
+++ b/numpy/lib/nanfunctions.py
@@ -188,9 +188,8 @@ def _divide_by_count(a, b, out=None):
"""
Compute a/b ignoring invalid results. If `a` is an array the division
is done in place. If `a` is a scalar, then its type is preserved in the
- output. If out is None, then then a is used instead so that the
- division is in place. Note that this is only called with `a` an inexact
- type.
+ output. If out is None, then a is used instead so that the division
+ is in place. Note that this is only called with `a` an inexact type.
Parameters
----------