]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-108907: ctypes: Document _type_ codes (GH-145837) (GH-146328)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 23 Mar 2026 13:07:24 +0000 (14:07 +0100)
committerGitHub <noreply@github.com>
Mon, 23 Mar 2026 13:07:24 +0000 (14:07 +0100)
commitf883bbd433addc93d814e59f827cd3906b9ce5c1
tree8af41d288f790f75b72f17f4424368fe34a44c88
parent8e7c62b41a927efd5a1e6d487a7fc4d767c6cca3
[3.14] gh-108907: ctypes: Document _type_ codes (GH-145837) (GH-146328)

gh-108907: ctypes: Document _type_ codes (GH-145837)

Add `_SimpleCData._type_` docs.

Add type codes to the summary table.

Cross-link `struct`, `array`, and `ctypes`; throw in `numpy` too.
(Anyone wanting to add a code should be aware of those.)

Add `py_object`, and `VARIANT_BOOL` for completeness.
(cherry picked from commit 1114d7f7f874790f009c61cc14965888769bc198)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Doc/library/array.rst
Doc/library/ctypes.rst
Doc/library/struct.rst