summaryrefslogtreecommitdiff
path: root/numpy/doc/basics.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/doc/basics.py')
-rw-r--r--numpy/doc/basics.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/doc/basics.py b/numpy/doc/basics.py
index 76d455cd0..9e0bee357 100644
--- a/numpy/doc/basics.py
+++ b/numpy/doc/basics.py
@@ -114,10 +114,10 @@ properties of the type, such as whether it is an integer::
>>> d
dtype('int32')
- >>> np.issubdtype(d, int)
+ >>> np.issubdtype(d, np.integer)
True
- >>> np.issubdtype(d, float)
+ >>> np.issubdtype(d, np.floating)
False