Skip to content

[3.14] gh-108907: ctypes: Document _type_ codes (GH-145837)#146328

Merged
encukou merged 1 commit intopython:3.14from
miss-islington:backport-1114d7f-3.14
Mar 23, 2026
Merged

[3.14] gh-108907: ctypes: Document _type_ codes (GH-145837)#146328
encukou merged 1 commit intopython:3.14from
miss-islington:backport-1114d7f-3.14

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 23, 2026

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 1114d7f)

Co-authored-by: Petr Viktorin [email protected]


📚 Documentation preview 📚: https://cpython-previews--146328.org.readthedocs.build/

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 1114d7f)

Co-authored-by: Petr Viktorin <[email protected]>
@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news labels Mar 23, 2026
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Mar 23, 2026
@encukou encukou merged commit f883bbd into python:3.14 Mar 23, 2026
36 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Mar 23, 2026
@miss-islington miss-islington deleted the backport-1114d7f-3.14 branch March 23, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants