@@ -61,7 +61,6 @@ The module defines the following exception and functions:
61
61
write the packed bytes into the writable buffer *buffer * starting at
62
62
position *offset *. Note that *offset * is a required argument.
63
63
64
-
65
64
.. function :: unpack(format, buffer)
66
65
67
66
Unpack from the buffer *buffer * (presumably packed by ``pack(format, ...) ``)
@@ -194,7 +193,7 @@ platform-dependent.
194
193
+--------+--------------------------+--------------------+----------------+------------+
195
194
| Format | C Type | Python type | Standard size | Notes |
196
195
+========+==========================+====================+================+============+
197
- | ``x `` | pad byte | no value | | |
196
+ | ``x `` | pad byte | no value | | \( 7) |
198
197
+--------+--------------------------+--------------------+----------------+------------+
199
198
| ``c `` | :c:expr: `char ` | bytes of length 1 | 1 | |
200
199
+--------+--------------------------+--------------------+----------------+------------+
@@ -291,6 +290,9 @@ Notes:
291
290
operations. See the Wikipedia page on the `half-precision floating-point
292
291
format <half precision format_> `_ for more information.
293
292
293
+ (7)
294
+ For padding, ``x `` inserts null bytes.
295
+
294
296
295
297
A format character may be preceded by an integral repeat count. For example,
296
298
the format string ``'4h' `` means exactly the same as ``'hhhh' ``.
0 commit comments