From: Larry Hastings Date: Sun, 12 Jan 2014 21:57:36 +0000 (-0800) Subject: Minor doc fix in Clinic howto. X-Git-Tag: v3.4.0b3~168 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0191be3899dbfc79403b06102f66bfc5f079a177;p=python Minor doc fix in Clinic howto. --- diff --git a/Doc/howto/clinic.rst b/Doc/howto/clinic.rst index e9e1377cb8..9c558bc503 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