summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2011-08-02 14:44:31 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2011-08-02 14:44:31 (GMT)
commitb1290a5295159207e86fc25457c14504768938c2 (patch)
treeb5188e25725ad7a47d00f19c0e57b0907968f247
parent3083c8889831eb557419799aa3a3478b899e3830 (diff)
parent692dba244b4f984b4fa15a87e53bd33fad25777e (diff)
downloadcpython-b1290a5295159207e86fc25457c14504768938c2.zip
cpython-b1290a5295159207e86fc25457c14504768938c2.tar.gz
cpython-b1290a5295159207e86fc25457c14504768938c2.tar.bz2
#12670: merge with 3.2
-rw-r--r--Doc/library/ctypes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index 33d1f7e..b868a95 100644
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -865,10 +865,10 @@ later::
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::