]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-108907: ctypes: Document _type_ codes (GH-145837)
authorPetr Viktorin <encukou@gmail.com>
Mon, 23 Mar 2026 12:41:38 +0000 (13:41 +0100)
committerGitHub <noreply@github.com>
Mon, 23 Mar 2026 12:41:38 +0000 (13:41 +0100)
commit1114d7f7f874790f009c61cc14965888769bc198
tree563532da7113c43c1988fe0ad696206d16304762
parent91cd2e58068182df04e9eeef0d74d7cfee375fd1
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.
Doc/library/array.rst
Doc/library/ctypes.rst
Doc/library/struct.rst