Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Doc/library/struct.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,17 @@ The module defines the following exception and functions:
position *offset*. Note that *offset* is a required argument.
A negative *offset* counts from the end of *buffer*.

.. note::

``pack_into()`` specifies the packed bytes written to the buffer, but
does not guarantee the number, width, or ordering of the underlying
native memory accesses used to perform the write. In particular,
writable buffers backed by memory-mapped I/O (MMIO) should not be
treated as exact-width register access interfaces. Code that depends
on exact MMIO access semantics should use an interface designed for
that purpose and verify its behavior for the target implementation
and platform.


.. function:: unpack(format, buffer)

Expand Down
Loading