summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-10-27 13:15:21 (GMT)
committerGeorg Brandl <georg@python.org>2009-10-27 13:15:21 (GMT)
commit804e4b8f0f81d96fe2adc940034db62722a6feba (patch)
tree73acc9bbc0170d6c36f094748e54081ed296632b /Doc
parent81daf31c26a976c94f7563422a486c62d08a6c72 (diff)
downloadcpython-804e4b8f0f81d96fe2adc940034db62722a6feba.zip
cpython-804e4b8f0f81d96fe2adc940034db62722a6feba.tar.gz
cpython-804e4b8f0f81d96fe2adc940034db62722a6feba.tar.bz2
Merged revisions 68633 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r68633 | thomas.heller | 2009-01-16 19:53:44 +0100 (Fr, 16 Jan 2009) | 3 lines Change an example in the docs to avoid a mistake when the code is copy pasted and changed afterwards. ........
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/ctypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index 5da4c9d..9a1acd6 100644
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -2442,10 +2442,10 @@ other data types containing pointer type fields.
("hreftype", HREFTYPE)]
class TYPEDESC(Structure):
+ _anonymous_ = ("u",)
_fields_ = [("u", _U),
("vt", VARTYPE)]
- _anonymous_ = ("u",)
The ``TYPEDESC`` structure describes a COM data type, the ``vt`` field
specifies which one of the union fields is valid. Since the ``u`` field