From 60a1e10c4593736b188b38e7d7c51aefb213af6a Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Thu, 17 Sep 2020 03:06:41 -0500 Subject: DOC: Fix syntax errors in docstrings for versionchanged, versionadded (#17338) * DOC: Fix typos in versionchanged. --- numpy/lib/function_base.py | 2 +- numpy/lib/recfunctions.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/lib') diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index c43b2fb53..c7ddbdb8d 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -1450,7 +1450,7 @@ def angle(z, deg=False): The counterclockwise angle from the positive real axis on the complex plane in the range ``(-pi, pi]``, with dtype as numpy.float64. - ..versionchanged:: 1.16.0 + .. versionchanged:: 1.16.0 This function works on subclasses of ndarray like `ma.array`. See Also diff --git a/numpy/lib/recfunctions.py b/numpy/lib/recfunctions.py index cfc5dc9ca..fbfbca73d 100644 --- a/numpy/lib/recfunctions.py +++ b/numpy/lib/recfunctions.py @@ -513,7 +513,7 @@ def drop_fields(base, drop_names, usemask=True, asrecarray=False): Nested fields are supported. - ..versionchanged: 1.18.0 + .. versionchanged:: 1.18.0 `drop_fields` returns an array with 0 fields if all fields are dropped, rather than returning ``None`` as it did previously. -- cgit v1.2.1