diff options
Diffstat (limited to 'Doc/library/struct.rst')
-rw-r--r-- | Doc/library/struct.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/struct.rst b/Doc/library/struct.rst index cc3017b..a0679f3 100644 --- a/Doc/library/struct.rst +++ b/Doc/library/struct.rst @@ -116,6 +116,13 @@ By default, C types are represented in the machine's native format and byte order, and properly aligned by skipping pad bytes if necessary (according to the rules used by the C compiler). +.. index:: + single: @; in struct format strings + single: =; in struct format strings + single: <; in struct format strings + single: >; in struct format strings + single: !; in struct format strings + Alternatively, the first character of the format string can be used to indicate the byte order, size and alignment of the packed data, according to the following table: |