[Python-checkins] cpython (merge 3.2 -> default): #12670: merge with 3.2

sandro.tosi python-checkins at python.org
Tue Aug 2 16:47:58 CEST 2011


http://hg.python.org/cpython/rev/01192d30365a
changeset:   71696:01192d30365a
parent:      71693:746dc0a2398e
parent:      71695:25dd1d3f4b88
user:        Sandro Tosi <sandro.tosi at gmail.com>
date:        Tue Aug 02 16:44:31 2011 +0200
summary:
  #12670: merge with 3.2

files:
  Doc/library/ctypes.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -865,10 +865,10 @@
 
    struct cell; /* forward declaration */
 
-   struct {
+   struct cell {
        char *name;
        struct cell *next;
-   } cell;
+   };
 
 The straightforward translation into ctypes code would be this, but it does not
 work::

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


More information about the Python-checkins mailing list