Bug report
Bug description:
The declaration of the format field of the Py_buffer structure is char * but the documentation states it is const char *.
IMHO the declaration should be changed to match the docs.
CPython versions tested on:
3.8, 3.9, 3.10, 3.11, 3.12, 3.13
Operating systems tested on:
Linux, macOS, Windows
Linked PRs