Change an example in the docs to avoid a mistake when the code is copy

pasted and changed afterwards.
This commit is contained in:
Thomas Heller 2009-01-16 18:53:44 +00:00
parent b3af601b22
commit 757d25526a
1 changed files with 1 additions and 1 deletions

View File

@ -2441,10 +2441,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