summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2016-09-12 23:16:53 +0300
committerMatti Picus <matti.picus@gmail.com>2016-09-17 22:53:36 +0300
commit8c1ca4cb5662a80110fd2020634b4deea7717661 (patch)
tree18a920a838246fc97527d3987a0fedd476b563fb /numpy/add_newdocs.py
parent742f6c21b3a6d61e4d43f798b03573547f763b3e (diff)
downloadnumpy-8c1ca4cb5662a80110fd2020634b4deea7717661.tar.gz
ENH: a.resize(.., refcheck=True) is almost unusable on PyPy
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index 05904461c..755cdc303 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -4123,6 +4123,9 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('resize',
ValueError
If `a` does not own its own data or references or views to it exist,
and the data memory must be changed.
+ PyPy only: will always raise if the data memory must be changed, since
+ there is no reliable way to determine if references or views to it
+ exist.
SystemError
If the `order` keyword argument is specified. This behaviour is a