mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Issue #21778: Clarify use of flags if PyBuffer_FillInfo() is used inside a
getbufferproc().
This commit is contained in:
parent
ad324f6bcc
commit
bb458dbe59
1 changed files with 2 additions and 2 deletions
|
@ -489,8 +489,8 @@ Buffer-related functions
|
|||
:c:member:`view->obj` to *NULL* and return -1;
|
||||
|
||||
If this function is used as part of a :ref:`getbufferproc <buffer-structs>`,
|
||||
*exporter* MUST be set to the exporting object. Otherwise, *exporter* MUST
|
||||
be NULL.
|
||||
*exporter* MUST be set to the exporting object and *flags* must be passed
|
||||
unmodified. Otherwise, *exporter* MUST be NULL.
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue