comparison Doc/lib/libarray.tex @ 20580:376ee174ecd0 legacy-trunk

Use the \note and \warning macros where appropriate.
author Fred Drake <fdrake@acm.org>
date Sat, 20 Oct 2001 04:24:09 +0000
parents 2f27838d8fc5
children e70c9b7aaf3d 966725095854
comparison
equal deleted inserted replaced
20579:84a586acdc02 20580:376ee174ecd0
75 low-level (and inherently unsafe) I/O interfaces that require memory 75 low-level (and inherently unsafe) I/O interfaces that require memory
76 addresses, such as certain \cfunction{ioctl()} operations. The 76 addresses, such as certain \cfunction{ioctl()} operations. The
77 returned numbers are valid as long as the array exists and no 77 returned numbers are valid as long as the array exists and no
78 length-changing operations are applied to it. 78 length-changing operations are applied to it.
79 79
80 \strong{Note:} When using array objects from code written in C or 80 \note{When using array objects from code written in C or
81 \Cpp{} (the only way to effectively make use of this information), it 81 \Cpp{} (the only way to effectively make use of this information), it
82 makes more sense to use the buffer interface supported by array 82 makes more sense to use the buffer interface supported by array
83 objects. This method is maintained for backward compatibility and 83 objects. This method is maintained for backward compatibility and
84 should be avoided in new code. The buffer interface is documented in 84 should be avoided in new code. The buffer interface is documented in
85 the \citetitle[../api/newTypes.html]{Python/C API Reference Manual}. 85 the \citetitle[../api/newTypes.html]{Python/C API Reference Manual}.}
86 \end{methoddesc} 86 \end{methoddesc}
87 87
88 \begin{methoddesc}[array]{byteswap}{} 88 \begin{methoddesc}[array]{byteswap}{}
89 ``Byteswap'' all items of the array. This is only supported for 89 ``Byteswap'' all items of the array. This is only supported for
90 values which are 1, 2, 4, or 8 bytes in size; for other types of 90 values which are 1, 2, 4, or 8 bytes in size; for other types of