mirror of https://github.com/python/cpython
Change an example in the docs to avoid a mistake when the code is copy
pasted and changed afterwards.
This commit is contained in:
parent
b3af601b22
commit
757d25526a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue