[Python-checkins] r68633 - python/trunk/Doc/library/ctypes.rst
thomas.heller
python-checkins at python.org
Fri Jan 16 19:53:44 CET 2009
Author: thomas.heller
Date: Fri Jan 16 19:53:44 2009
New Revision: 68633
Log:
Change an example in the docs to avoid a mistake when the code is copy
pasted and changed afterwards.
Modified:
python/trunk/Doc/library/ctypes.rst
Modified: python/trunk/Doc/library/ctypes.rst
==============================================================================
--- python/trunk/Doc/library/ctypes.rst (original)
+++ python/trunk/Doc/library/ctypes.rst Fri Jan 16 19:53:44 2009
@@ -2441,10 +2441,10 @@
("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
More information about the Python-checkins
mailing list