From 0191be3899dbfc79403b06102f66bfc5f079a177 Mon Sep 17 00:00:00 2001 From: Larry Hastings Date: Sun, 12 Jan 2014 13:57:36 -0800 Subject: [PATCH] Minor doc fix in Clinic howto. --- Doc/howto/clinic.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.40.0