diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2020-08-26 09:36:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-26 09:36:47 +0100 |
commit | fe04c2aed76b068743ff4ad3c9ed01feb871cef2 (patch) | |
tree | ab81cea683bbb224d6e6b1c0471e19c0dda4b357 /doc/source/reference/arrays.interface.rst | |
parent | 345da1c6fd9da8ac47f7ebb4528c5f119b2b0a47 (diff) | |
download | numpy-fe04c2aed76b068743ff4ad3c9ed01feb871cef2.tar.gz |
Improve wording of note
Diffstat (limited to 'doc/source/reference/arrays.interface.rst')
-rw-r--r-- | doc/source/reference/arrays.interface.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/source/reference/arrays.interface.rst b/doc/source/reference/arrays.interface.rst index cf4708b4b..c6da326d7 100644 --- a/doc/source/reference/arrays.interface.rst +++ b/doc/source/reference/arrays.interface.rst @@ -330,8 +330,10 @@ largely aesthetic. In particular: Now it must be a tuple whose first element is a string with "PyArrayInterface Version #" and whose second element is the object exposing the array. - This design was retracted in <https://mail.python.org/pipermail/numpy-discussion/2006-June/020995.html>, and is an error to have relied - upon in the intermediate 14 years. + This design was retracted almost immediately after it was proposed, in + <https://mail.python.org/pipermail/numpy-discussion/2006-June/020995.html>. + Despite 14 years of documentation to the contrary, at no point was it valid + to assume that ``__array_interface__`` capsules held this tuple content. 3. The tuple returned from ``__array_interface__['data']`` used to be a hex-string (now it is an integer or a long integer). |