summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
authorBradley Dice <bdice@bradleydice.com>2020-09-17 03:06:41 -0500
committerGitHub <noreply@github.com>2020-09-17 11:06:41 +0300
commit60a1e10c4593736b188b38e7d7c51aefb213af6a (patch)
tree20a71584c6a2f10c03defcb6ef63f4880ef7e865 /numpy/lib
parentbde2119e80d14a21950285f2d872b29506c7b851 (diff)
downloadnumpy-60a1e10c4593736b188b38e7d7c51aefb213af6a.tar.gz
DOC: Fix syntax errors in docstrings for versionchanged, versionadded (#17338)
* DOC: Fix typos in versionchanged.
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/function_base.py2
-rw-r--r--numpy/lib/recfunctions.py2
2 files changed, 2 insertions, 2 deletions
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.