| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2540,6 +2540,8 @@ fields, or any other data types containing pointer type fields. | |||
| 2540 | 2540 | the structure when being packed or unpacked to/from memory. | |
| 2541 | 2541 | Setting this attribute to 0 is the same as not setting it at all. | |
| 2542 | 2542 | ||
| 2543 | + .. versionadded:: 3.13 | ||
| 2544 | + | ||
| 2543 | 2545 | .. attribute:: _anonymous_ | |
| 2544 | 2546 | ||
| 2545 | 2547 | An optional sequence that lists the names of unnamed (anonymous) fields. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -814,6 +814,10 @@ ctypes | |||
| 814 | 814 | See :gh:`124520` for discussion and links to changes in some affected | |
| 815 | 815 | projects. | |
| 816 | 816 | ||
| 817 | + * :class:`ctypes.Structure` objects have a new :attr:`~ctypes.Structure._align_` | ||
| 818 | + attribute which allows the alignment of the structure being packed to/from | ||
| 819 | + memory to be specified explicitly. | ||
| 820 | + (Contributed by Matt Sanderson in :gh:`112433`) | ||
| 817 | 821 | ||
| 818 | 822 | dbm | |
| 819 | 823 | --- | |
| Back | FazBrowse Home | New Git URL |
0 commit comments