Mercurial > cpython-lru_cache-weakref
diff Doc/libstruct.tex @ 2491:fb8e08ec88dd legacy-trunk
changes (suggested) by Soren Larsen
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 07 Mar 1995 10:14:09 +0000 |
| parents | 2ec96140a36b |
| children | f47bc5554418 |
line wrap: on
line diff
--- a/Doc/libstruct.tex Tue Mar 07 10:12:59 1995 +0000 +++ b/Doc/libstruct.tex Tue Mar 07 10:14:09 1995 +0000 @@ -49,7 +49,7 @@ \lineiii{d}{double}{float} \end{tableiii} -A format character may be preceded by an integral repeat count; e.g. +A format character may be preceded by an integral repeat count; e.g.\ the format string \code{'4h'} means exactly the same as \code{'hhhh'}. C numbers are represented in the machine's native format and byte @@ -66,10 +66,10 @@ Hint: to align the end of a structure to the alignment requirement of a particular type, end the format with the code for that type with a -repeat count of zero, e.g. the format \code{'llh0l'} specifies two +repeat count of zero, e.g.\ the format \code{'llh0l'} specifies two pad bytes at the end, assuming longs are aligned on 4-byte boundaries. -(More format characters are planned, e.g. \code{'s'} for character +(More format characters are planned, e.g.\ \code{'s'} for character arrays, upper case for unsigned variants, and a way to specify the byte order, which is useful for [de]constructing network packets and reading/writing portable binary file formats like TIFF and AIFF.)
