diff options
author | Stefan Krah <skrah@bytereef.org> | 2014-06-30 00:15:45 +0200 |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2014-06-30 00:15:45 +0200 |
commit | bb458dbe597c64b5694d30f18b3f89bbdc2b3ab4 (patch) | |
tree | 06392d785072388d8aaf3491288b581ca5e72863 /Doc/c-api/buffer.rst | |
parent | Issue #20753: Skip PasswordProtectedSiteTestCase when Python is built without... (diff) | |
download | cpython-bb458dbe597c64b5694d30f18b3f89bbdc2b3ab4.tar.gz cpython-bb458dbe597c64b5694d30f18b3f89bbdc2b3ab4.tar.bz2 cpython-bb458dbe597c64b5694d30f18b3f89bbdc2b3ab4.zip |
Issue #21778: Clarify use of flags if PyBuffer_FillInfo() is used inside a
getbufferproc().
Diffstat (limited to 'Doc/c-api/buffer.rst')
-rw-r--r-- | Doc/c-api/buffer.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst index a7de37ee5f5..230c6a957f3 100644 --- a/Doc/c-api/buffer.rst +++ b/Doc/c-api/buffer.rst @@ -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. |