Commit ac00c4c1 authored by Fred Drake's avatar Fred Drake

byteswap() method: Tell *what* exception gets raised when the type

		    cannot be byteswapped.
parent 9118f7cf
......@@ -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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment