Skip to content

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

Merged
encukou merged 1 commit into
python: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 into
python:3.14from
miss-islington:backport-1114d7f-3.14

Conversation

@miss-islington

@miss-islingtonmiss-islington commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

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 encukou@gmail.com


📚 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 <encukou@gmail.com>
@bedevere-appbedevere-appBot added docs Documentation in the Doc dir skip news labels Mar 23, 2026
@encukou
encukou merged commit f883bbd into python:3.14Mar 23, 2026
36 checks passed
@github-project-automationgithub-project-automationBot moved this from Todo to Done in Docs PRsMar 23, 2026
@miss-islington
miss-islington deleted the backport-1114d7f-3.14 branch March 23, 2026 13:07
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants

@miss-islington@encukou