From ac00c4c1c6f438d58e38d362b6660561ba047bb8 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 29 Jun 1999 15:58:00 +0000 Subject: byteswap() method: Tell *what* exception gets raised when the type cannot be byteswapped. --- Doc/lib/libarray.tex | 5 +++-- 1 file 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} -- cgit v0.12