Skip to content

Commit bb458db

Browse files
committed
Issue python#21778: Clarify use of flags if PyBuffer_FillInfo() is used inside a
getbufferproc().
1 parent ad324f6 commit bb458db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/buffer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,8 @@ Buffer-related functions
489489
:c:member:`view->obj` to *NULL* and return -1;
490490
491491
If this function is used as part of a :ref:`getbufferproc <buffer-structs>`,
492-
*exporter* MUST be set to the exporting object. Otherwise, *exporter* MUST
493-
be NULL.
492+
*exporter* MUST be set to the exporting object and *flags* must be passed
493+
unmodified. Otherwise, *exporter* MUST be NULL.
494494
495495
496496

0 commit comments

Comments
 (0)