]> granicus.if.org Git - python/commitdiff
Minor doc fix in Clinic howto.
authorLarry Hastings <larry@hastings.org>
Sun, 12 Jan 2014 21:57:36 +0000 (13:57 -0800)
committerLarry Hastings <larry@hastings.org>
Sun, 12 Jan 2014 21:57:36 +0000 (13:57 -0800)
Doc/howto/clinic.rst

index e9e1377cb80ab69390eb34f007aa781e80fc3601..9c558bc5039ae9a6818b581e2e66a2fc47cbdce4 100644 (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