summaryrefslogtreecommitdiff
path: root/numpy/doc/subclassing.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/doc/subclassing.py')
-rw-r--r--numpy/doc/subclassing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/doc/subclassing.py b/numpy/doc/subclassing.py
index 7dc10e1c8..d6a4a765b 100644
--- a/numpy/doc/subclassing.py
+++ b/numpy/doc/subclassing.py
@@ -685,8 +685,8 @@ True
True
>>> # Take a view of a view
>>> v2 = v1[1:]
->>> # base points to the view it derived from
->>> v2.base is v1
+>>> # base points to the original array that it was derived from
+>>> v2.base is arr
True
In general, if the array owns its own memory, as for ``arr`` in this