diff options
author | Fred Drake <fdrake@acm.org> | 1999-06-29 15:58:00 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-06-29 15:58:00 (GMT) |
commit | ac00c4c1c6f438d58e38d362b6660561ba047bb8 (patch) | |
tree | e0edfa3b8012e3e16daa3b2badf009d5e53264c4 | |
parent | 9118f7cfc47920c9fa36e37185162b890c97ee6c (diff) | |
download | cpython-ac00c4c1c6f438d58e38d362b6660561ba047bb8.zip cpython-ac00c4c1c6f438d58e38d362b6660561ba047bb8.tar.gz cpython-ac00c4c1c6f438d58e38d362b6660561ba047bb8.tar.bz2 |
byteswap() method: Tell *what* exception gets raised when the type
cannot be byteswapped.
-rw-r--r-- | Doc/lib/libarray.tex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libarray.tex b/Doc/lib/libarray.tex index cfc9cec..84b2812 100644 --- a/Doc/lib/libarray.tex +++ b/Doc/lib/libarray.tex @@ -78,8 +78,9 @@ operations are applied to it. \begin{methoddesc}[array]{byteswap}{x} ``Byteswap'' all items of the array. This is only supported for -integer values. It is useful when reading data from a file written -on a machine with a different byte order. +integer values; for other types of values, \exception{RuntimeError} is +raised. It is useful when reading data from a file written on a +machine with a different byte order. \end{methoddesc} \begin{methoddesc}[array]{fromfile}{f, n} |