summaryrefslogtreecommitdiffstats
path: root/Doc/library/struct.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-10-26 06:00:49 (GMT)
committerGitHub <noreply@github.com>2018-10-26 06:00:49 (GMT)
commitddb961d2abe5d5fde76d85b21a77e4e91e0043ad (patch)
tree2cd70e8cdb5a4b8c4b65e079b66a3492b26fec30 /Doc/library/struct.rst
parent3ec9af75f6825a32f369ee182a388c365db241b6 (diff)
downloadcpython-ddb961d2abe5d5fde76d85b21a77e4e91e0043ad.zip
cpython-ddb961d2abe5d5fde76d85b21a77e4e91e0043ad.tar.gz
cpython-ddb961d2abe5d5fde76d85b21a77e4e91e0043ad.tar.bz2
bpo-35054: Add more index entries for symbols. (GH-10064)
Diffstat (limited to 'Doc/library/struct.rst')
-rw-r--r--Doc/library/struct.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/struct.rst b/Doc/library/struct.rst
index bad33ac..9ba4047 100644
--- a/Doc/library/struct.rst
+++ b/Doc/library/struct.rst
@@ -117,6 +117,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: