Commit bb458dbe authored by Stefan Krah's avatar Stefan Krah

Issue #21778: Clarify use of flags if PyBuffer_FillInfo() is used inside a

getbufferproc().
parent ad324f6b
...@@ -489,8 +489,8 @@ Buffer-related functions ...@@ -489,8 +489,8 @@ Buffer-related functions
:c:member:`view->obj` to *NULL* and return -1; :c:member:`view->obj` to *NULL* and return -1;
If this function is used as part of a :ref:`getbufferproc <buffer-structs>`, If this function is used as part of a :ref:`getbufferproc <buffer-structs>`,
*exporter* MUST be set to the exporting object. Otherwise, *exporter* MUST *exporter* MUST be set to the exporting object and *flags* must be passed
be NULL. unmodified. Otherwise, *exporter* MUST be NULL.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment