Skip to content

Commit 51f1c17

Browse files
committed
Move note to footnote of Format Characters table
1 parent a6ac1d8 commit 51f1c17

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Doc/library/struct.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ platform-dependent.
195195
+--------+--------------------------+--------------------+----------------+------------+
196196
| Format | C Type | Python type | Standard size | Notes |
197197
+========+==========================+====================+================+============+
198-
| ``x`` | pad byte | no value | | |
198+
| ``x`` | pad byte | no value | | \(7) |
199199
+--------+--------------------------+--------------------+----------------+------------+
200200
| ``c`` | :c:expr:`char` | bytes of length 1 | 1 | |
201201
+--------+--------------------------+--------------------+----------------+------------+
@@ -292,6 +292,9 @@ Notes:
292292
operations. See the Wikipedia page on the `half-precision floating-point
293293
format <half precision format_>`_ for more information.
294294

295+
(7)
296+
``x`` padding inserts null bytes to pad bytes.
297+
295298

296299
A format character may be preceded by an integral repeat count. For example,
297300
the format string ``'4h'`` means exactly the same as ``'hhhh'``.

0 commit comments

Comments
 (0)