summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/core/multiarray.py4
-rw-r--r--numpy/lib/function_base.py2
-rw-r--r--numpy/lib/recfunctions.py2
-rw-r--r--numpy/ma/extras.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/numpy/core/multiarray.py b/numpy/core/multiarray.py
index 225c9554c..540d1ea9b 100644
--- a/numpy/core/multiarray.py
+++ b/numpy/core/multiarray.py
@@ -163,12 +163,12 @@ def concatenate(arrays, axis=None, out=None, *, dtype=None, casting=None):
If provided, the destination array will have this dtype. Cannot be
provided together with `out`.
- ..versionadded:: 1.20.0
+ .. versionadded:: 1.20.0
casting : {'no', 'equiv', 'safe', 'same_kind', 'unsafe'}, optional
Controls what kind of data casting may occur. Defaults to 'same_kind'.
- ..versionadded:: 1.20.0
+ .. versionadded:: 1.20.0
Returns
-------
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.
diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py
index 8ede29da1..613bcb550 100644
--- a/numpy/ma/extras.py
+++ b/numpy/ma/extras.py
@@ -1641,7 +1641,7 @@ def flatnotmasked_contiguous(a):
slice_list : list
A sorted sequence of `slice` objects (start index, end index).
- ..versionchanged:: 1.15.0
+ .. versionchanged:: 1.15.0
Now returns an empty list instead of None for a fully masked array
See Also