]> granicus.if.org Git - python/commitdiff
Issue #21778: Clarify use of flags if PyBuffer_FillInfo() is used inside a
authorStefan Krah <skrah@bytereef.org>
Sun, 29 Jun 2014 22:15:45 +0000 (00:15 +0200)
committerStefan Krah <skrah@bytereef.org>
Sun, 29 Jun 2014 22:15:45 +0000 (00:15 +0200)
getbufferproc().

Doc/c-api/buffer.rst

index a7de37ee5f50702d08f950284331267d90d4eb6e..230c6a957f388b60f7714c37e3aab039e6b9bbaf 100644 (file)
@@ -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.