summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-10-15 00:59:35 +0300
committermattip <matti.picus@gmail.com>2019-10-15 00:59:35 +0300
commit08b5907b62db280d028fe7508633a1abe4c5e713 (patch)
treeb9c3698defa54ab615ff0f652085e8ff477f89e8
parent63f1dab8d90eccc6926dd1d9e160b420a028350b (diff)
downloadnumpy-08b5907b62db280d028fe7508633a1abe4c5e713.tar.gz
DOC: no `data_as` reference is available
-rw-r--r--numpy/core/_internal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/_internal.py b/numpy/core/_internal.py
index b0ea603e1..b241d1f9d 100644
--- a/numpy/core/_internal.py
+++ b/numpy/core/_internal.py
@@ -348,7 +348,7 @@ class _ctypes(object):
crashing. User Beware! The value of this attribute is exactly the same
as ``self._array_interface_['data'][0]``.
- Note that unlike `data_as`, a reference will not be kept to the array:
+ Note that unlike ``data_as``, a reference will not be kept to the array:
code like ``ctypes.c_void_p((a + b).ctypes.data)`` will result in a
pointer to a deallocated array, and should be spelt
``(a + b).ctypes.data_as(ctypes.c_void_p)``