From: Fred Drake Date: Tue, 29 Jun 1999 15:58:00 +0000 (+0000) Subject: byteswap() method: Tell *what* exception gets raised when the type X-Git-Tag: v1.6a1~1131 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac00c4c1c6f438d58e38d362b6660561ba047bb8;p=thirdparty%2FPython%2Fcpython.git byteswap() method: Tell *what* exception gets raised when the type cannot be byteswapped. --- diff --git a/Doc/lib/libarray.tex b/Doc/lib/libarray.tex index cfc9ceca518e..84b28128d074 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}