Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-112433 Docs: Add versionadded value and whatsnew snippet#125087

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes fromall 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
2 changes: 2 additions & 0 deletionsDoc/library/ctypes.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2589,6 +2589,8 @@ fields, or any other data types containing pointer type fields.
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
Expand Down
4 changes: 4 additions & 0 deletionsDoc/whatsnew/3.13.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -814,6 +814,10 @@ ctypes
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
---
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp