summaryrefslogtreecommitdiff
path: root/numpy/lib/nanfunctions.py
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2022-01-13 10:56:00 +0100
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2022-01-13 11:29:51 +0100
commit58dbe260a2e41c31f1ab03e1abdb1f01da4c1edc (patch)
tree8aada9a88cb8718941d16faafb2749462f8325e5 /numpy/lib/nanfunctions.py
parent813a0c11186ded0b5caeb853fd2b22fb9addd511 (diff)
downloadnumpy-58dbe260a2e41c31f1ab03e1abdb1f01da4c1edc.tar.gz
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
----------