Skip to content

Commit 10d44f7

Browse files
[3.13] gh-141004: Document PyBUF_WRITEABLE (GH-141255) (GH-141260)
gh-141004: Document `PyBUF_WRITEABLE` (GH-141255) (cherry picked from commit 5e5fc04) Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
1 parent e46b808 commit 10d44f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/c-api/buffer.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,10 @@ readonly, format
261261
MUST be consistent for all consumers. For example, :c:expr:`PyBUF_SIMPLE | PyBUF_WRITABLE`
262262
can be used to request a simple writable buffer.
263263

264+
.. c:macro:: PyBUF_WRITEABLE
265+
266+
This is a :term:`soft deprecated` alias to :c:macro:`PyBUF_WRITABLE`.
267+
264268
.. c:macro:: PyBUF_FORMAT
265269
266270
Controls the :c:member:`~Py_buffer.format` field. If set, this field MUST

0 commit comments

Comments
 (0)