From efaaa96767e3ca048a3cd01107d811e345e3438c Mon Sep 17 00:00:00 2001 From: mattip Date: Tue, 15 Oct 2019 18:03:11 +0300 Subject: DOC: convert `None` to bare None or ``None`` --- numpy/ma/extras.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/ma/extras.py') 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. -- cgit v1.2.1