]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-136520: Clarify docs for _pack_ & _align_ (GH-137036)
authorPetr Viktorin <encukou@gmail.com>
Mon, 4 Aug 2025 13:40:42 +0000 (15:40 +0200)
committerGitHub <noreply@github.com>
Mon, 4 Aug 2025 13:40:42 +0000 (15:40 +0200)
commit8943bb722f2f88a95ea6c5ee36bb5d540740d792
tree7d5cfb20e2d3142dc4bc22ae9c9be75897959dd9
parent4dd85b347fd8264453811e0873e0dffa333d9838
gh-136520: Clarify docs for _pack_ & _align_ (GH-137036)

Move docs to the reference section & reduce the “tutorial” part to a quick intro & link.

Clarify what values are accepted.

Add macro/attribute equivalents.

Discourage _align_ values that aren't powers of two.
Doc/library/ctypes.rst