Co-authored-by: Kumar Aditya <kumaraditya@python.org>
the structure when being packed or unpacked to/from memory.
Setting this attribute to 0 is the same as not setting it at all.
+ .. versionadded:: 3.13
+
.. attribute:: _layout_
An optional string naming the struct/union layout. It can currently
See :gh:`124520` for discussion and links to changes in some affected
projects.
+* :class:`ctypes.Structure` objects have a new :attr:`~ctypes.Structure._align_`
+ attribute which allows the alignment of the structure being packed to/from
+ memory to be specified explicitly.
+ (Contributed by Matt Sanderson in :gh:`112433`)
dbm
---