[Python-checkins] r75755 - in python/branches/release26-maint: Doc/library/ctypes.rst

georg.brandl python-checkins at python.org
Tue Oct 27 14:15:21 CET 2009


Author: georg.brandl
Date: Tue Oct 27 14:15:21 2009
New Revision: 75755

Log:
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.
........


Modified:
   python/branches/release26-maint/   (props changed)
   python/branches/release26-maint/Doc/library/ctypes.rst

Modified: python/branches/release26-maint/Doc/library/ctypes.rst
==============================================================================
--- python/branches/release26-maint/Doc/library/ctypes.rst	(original)
+++ python/branches/release26-maint/Doc/library/ctypes.rst	Tue Oct 27 14:15:21 2009
@@ -2442,10 +2442,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