summaryrefslogtreecommitdiff
path: root/numpy/ma
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-10-15 18:03:11 +0300
committermattip <matti.picus@gmail.com>2019-10-15 18:03:11 +0300
commitefaaa96767e3ca048a3cd01107d811e345e3438c (patch)
treef222075f650747f7d66115effd05626c27727319 /numpy/ma
parent2300ae084b73ab961b7945d7b0bf4ad3162a7ce2 (diff)
downloadnumpy-efaaa96767e3ca048a3cd01107d811e345e3438c.tar.gz
DOC: convert `None` to bare None or ``None``
Diffstat (limited to 'numpy/ma')
-rw-r--r--numpy/ma/core.py2
-rw-r--r--numpy/ma/extras.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py
index 3943cbd19..bb0d8d412 100644
--- a/numpy/ma/core.py
+++ b/numpy/ma/core.py
@@ -4394,7 +4394,7 @@ class MaskedArray(ndarray):
----------
axis : None or int or tuple of ints, optional
Axis or axes along which the count is performed.
- The default (`axis` = `None`) performs the count over all
+ The default, None, performs the count over all
the dimensions of the input array. `axis` may be negative, in
which case it counts from the last to the first axis.
diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py
index de1aa3af8..4a83ac781 100644
--- a/numpy/ma/extras.py
+++ b/numpy/ma/extras.py
@@ -542,7 +542,7 @@ def average(a, axis=None, weights=None, returned=False):
Data to be averaged.
Masked entries are not taken into account in the computation.
axis : int, optional
- Axis along which to average `a`. If `None`, averaging is done over
+ Axis along which to average `a`. If None, averaging is done over
the flattened array.
weights : array_like, optional
The importance that each element has in the computation of the average.