summaryrefslogtreecommitdiff
path: root/numpy/doc/basics.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-08-01 17:40:56 +0000
committerEric Wieser <wieser.eric@gmail.com>2017-08-05 21:50:05 -0500
commitfb004f8bc610b0cf52342d35314a9e0a0434e745 (patch)
tree8de75b4b5dcd1db1f6356c65701b7c1a6c47a2e7 /numpy/doc/basics.py
parent6a119c982463097aebc8d004fc731b424721a650 (diff)
downloadnumpy-fb004f8bc610b0cf52342d35314a9e0a0434e745.tar.gz
MAINT: Stop using the undocumented coercion-then-downcast feature of subdtype
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 083d55a84..10d7248c1 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