[Python-checkins] cpython: Minor doc fix in Clinic howto.

larry.hastings python-checkins at python.org
Sun Jan 12 22:57:57 CET 2014


http://hg.python.org/cpython/rev/43e109ca9018
changeset:   88429:43e109ca9018
user:        Larry Hastings <larry at hastings.org>
date:        Sun Jan 12 13:57:36 2014 -0800
summary:
  Minor doc fix in Clinic howto.

files:
  Doc/howto/clinic.rst |  7 ++++---
  1 files changed, 4 insertions(+), 3 deletions(-)


diff --git a/Doc/howto/clinic.rst b/Doc/howto/clinic.rst
--- a/Doc/howto/clinic.rst
+++ b/Doc/howto/clinic.rst
@@ -753,9 +753,10 @@
 ---------
 
 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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list