[Python-checkins] r55835 - python/branches/release25-maint/Doc/lib/libctypes.tex

thomas.heller python-checkins at python.org
Fri Jun 8 21:19:26 CEST 2007


Author: thomas.heller
Date: Fri Jun  8 21:19:24 2007
New Revision: 55835

Modified:
   python/branches/release25-maint/Doc/lib/libctypes.tex
Log:
Fix wrong documentation, and correct the punktuation.
Closes [1700455].

Backported from trunk.

Modified: python/branches/release25-maint/Doc/lib/libctypes.tex
==============================================================================
--- python/branches/release25-maint/Doc/lib/libctypes.tex	(original)
+++ python/branches/release25-maint/Doc/lib/libctypes.tex	Fri Jun  8 21:19:24 2007
@@ -437,8 +437,8 @@
 expecting pointers to mutable memory. If you need mutable memory
 blocks, ctypes has a \code{create{\_}string{\_}buffer} function which creates
 these in various ways.  The current memory block contents can be
-accessed (or changed) with the \code{raw} property, if you want to access
-it as NUL terminated string, use the \code{string} property:
+accessed (or changed) with the \code{raw} property; if you want to access
+it as NUL terminated string, use the \code{value} property:
 \begin{verbatim}
 >>> from ctypes import *
 >>> p = create_string_buffer(3)      # create a 3 byte buffer, initialized to NUL bytes


More information about the Python-checkins mailing list