summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/lib/recfunctions.py2
-rw-r--r--numpy/lib/utils.py1
-rw-r--r--tools/refguide_check.py1
3 files changed, 3 insertions, 1 deletions
diff --git a/numpy/lib/recfunctions.py b/numpy/lib/recfunctions.py
index 844132333..5ff35f0bb 100644
--- a/numpy/lib/recfunctions.py
+++ b/numpy/lib/recfunctions.py
@@ -421,7 +421,7 @@ def merge_arrays(seqarrays, fill_value=-1, flatten=False,
>>> rfn.merge_arrays((np.array([1, 2]).view([('a', np.int64)]),
... np.array([10., 20., 30.])),
... usemask=False, asrecarray=True)
- rec.array([(1, 10.0), (2, 20.0), (-1, 30.0)],
+ rec.array([( 1, 10.), ( 2, 20.), (-1, 30.)],
dtype=[('a', '<i8'), ('f1', '<f8')])
Notes
diff --git a/numpy/lib/utils.py b/numpy/lib/utils.py
index 34d089893..5a4cae235 100644
--- a/numpy/lib/utils.py
+++ b/numpy/lib/utils.py
@@ -150,6 +150,7 @@ def deprecate(*args, **kwargs):
Warning:
>>> olduint = np.deprecate(np.uint)
+ DeprecationWarning: `uint64` is deprecated! # may vary
>>> olduint(6)
6
diff --git a/tools/refguide_check.py b/tools/refguide_check.py
index fc193b291..3d885e37f 100644
--- a/tools/refguide_check.py
+++ b/tools/refguide_check.py
@@ -70,6 +70,7 @@ PUBLIC_SUBMODULES = [
'f2py',
'linalg',
'lib',
+ 'lib.recfunctions',
'fft',
'ma',
'polynomial',