[Python-checkins] r45329 - python/trunk/Doc/whatsnew/whatsnew25.tex

George Yoshida dynkin at gmail.com
Thu Apr 13 05:05:37 CEST 2006


On 4/13/06, andrew.kuchling <python-checkins at python.org> wrote:
> Author: andrew.kuchling
> Date: Thu Apr 13 04:04:42 2006
> New Revision: 45329
>
> Modified:
>    python/trunk/Doc/whatsnew/whatsnew25.tex
> Log:
> Write some ctypes examples
>
> Modified: python/trunk/Doc/whatsnew/whatsnew25.tex

This commit results in compile error.
'}' is missing for \function. Please see below.

Index: Doc/whatsnew/whatsnew25.tex
===================================================================
--- Doc/whatsnew/whatsnew25.tex (revision 45331)
+++ Doc/whatsnew/whatsnew25.tex (working copy)
@@ -1135,7 +1135,7 @@

 You shouldn't use \function{c_char_p} with a Python string when the C
function will be modifying the memory area, because Python strings are
 supposed to be immutable; breaking this rule will cause puzzling
bugs.  When you need a modifiable memory area,
-use \function{create_string_buffer():
+use \function{create_string_buffer()}:

 \begin{verbatim}
 s = "this is a string"

--
george


More information about the Python-checkins mailing list