diff options
-rw-r--r-- | Doc/howto/clinic.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/howto/clinic.rst b/Doc/howto/clinic.rst index e9e1377..9c558bc5 100644 --- a/Doc/howto/clinic.rst +++ b/Doc/howto/clinic.rst @@ -753,9 +753,10 @@ Py_buffer --------- When using the ``Py_buffer`` converter -(or the ``'s*'``, ``'w*'``, ``'*y'``, or ``'z*'`` legacy converters) -note that the code Argument Clinic generates for you will automatically -call :c:func:`PyBuffer_Release` on the buffer for you. +(or the ``'s*'``, ``'w*'``, ``'*y'``, or ``'z*'`` legacy converters), +you *must* not call :c:func:`PyBuffer_Release` on the provided buffer. +Argument Clinic generates code that does it for you (in the parsing function). + Advanced converters |