| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Documentation build overview1 file changed ± c-api/buffer.html |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #148431.
Clarify that a NULL Py_buffer.format does not imply that the original elements have size one when shape information is present. Explain that PyBUF_FORMAT is optional for structured requests and must be combined with PyBUF_ND or a flag that includes it, rather than used alone or only with PyBUF_WRITABLE.
Validation: the full Sphinx HTML build passed with warnings treated as errors; sphinx-lint and git diff --check passed. Verified the described behavior with a non-byte memoryview and _testbuffer.ndarray, covering PyBUF_ND, PyBUF_STRIDED_RO, PyBUF_SIMPLE, and format requests with and without shape information.