From: Georg Brandl Date: Tue, 27 Oct 2009 13:15:21 +0000 (+0000) Subject: Merged revisions 68633 via svnmerge from X-Git-Tag: v2.6.5rc1~491 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=804e4b8f0f81d96fe2adc940034db62722a6feba;p=thirdparty%2FPython%2Fcpython.git 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. ........ --- diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index 5da4c9d22e30..9a1acd6f3430 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