Minor doc fix in Clinic howto.

This commit is contained in:
Larry Hastings 2014-01-12 13:57:36 -08:00
parent 4a55fc5a9d
commit 0191be3899
1 changed files with 4 additions and 3 deletions

View File

@ -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