mirror of
https://github.com/python/cpython.git
synced 2026-01-26 21:03:34 +00:00
[3.14] gh-141004: Document PyBUF_WRITEABLE (GH-141255) (GH-141261)
gh-141004: Document `PyBUF_WRITEABLE` (GH-141255) (cherry picked from commit 5e5fc0404ed983bb37a19793a5c802d0d9852e5d) Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
This commit is contained in:
parent
6c50a72efe
commit
ba0b8214ea
@ -261,6 +261,10 @@ readonly, format
|
||||
MUST be consistent for all consumers. For example, :c:expr:`PyBUF_SIMPLE | PyBUF_WRITABLE`
|
||||
can be used to request a simple writable buffer.
|
||||
|
||||
.. c:macro:: PyBUF_WRITEABLE
|
||||
|
||||
This is a :term:`soft deprecated` alias to :c:macro:`PyBUF_WRITABLE`.
|
||||
|
||||
.. c:macro:: PyBUF_FORMAT
|
||||
|
||||
Controls the :c:member:`~Py_buffer.format` field. If set, this field MUST
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user