Skip to content

Commit 7a14804

Browse files
authored
just remove trailing whitespaces (#410)
1 parent 9cb8b96 commit 7a14804

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

comtypes/automation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ def Invoke(self, dispid, *args, **kw):
970970
'EXCEPINFO', 'tagEXCEPINFO', 'IDispatch', 'IEnumVARIANT', 'IID_NULL',
971971
'INVOKE_FUNC', 'INVOKE_PROPERTYGET', 'INVOKE_PROPERTYPUT',
972972
'INVOKE_PROPERTYPUTREF', 'INVOKEKIND', 'tagINVOKEKIND', '_midlSAFEARRAY',
973-
'SCODE', '_SysAllocStringLen', 'VARENUM', 'VARIANT','tagVARIANT',
973+
'SCODE', '_SysAllocStringLen', 'VARENUM', 'VARIANT', 'tagVARIANT',
974974
'VARIANTARG', '_VariantChangeType', '_VariantClear', '_VariantCopy',
975975
'_VariantCopyInd', 'VARTYPE', 'VT_ARRAY', 'VT_BLOB', 'VT_BLOB_OBJECT',
976976
'VT_BOOL', 'VT_BSTR', 'VT_BSTR_BLOB', 'VT_BYREF', 'VT_CARRAY', 'VT_CF',

comtypes/test/test_typeinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_LoadRegTypeLib(self):
2727
info = attr.guid, attr.wMajorVerNum, attr.wMinorVerNum
2828
other_tlib = LoadRegTypeLib(*info)
2929
self.assert_tlibattr_equal(tlib, other_tlib)
30-
30+
3131
def assert_tlibattr_equal(self, tlib, other_tlib):
3232
attr, other_attr = tlib.GetLibAttr(), other_tlib.GetLibAttr()
3333
# `assert tlib == other_tlib` will fail in some environments.

comtypes/tools/codegenerator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def _make_noargs(self):
257257
" ),"
258258
) % elms
259259
print(code, file=self._stream)
260-
260+
261261
def _make_withargs(self):
262262
# type: () -> None
263263
code = (
@@ -366,7 +366,7 @@ def _make_noargs(self):
366366
" ),"
367367
) % elms
368368
print(code, file=self._stream)
369-
369+
370370
def _make_withargs(self):
371371
# type: () -> None
372372
code = (

comtypes/typeinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ class tagTYPEATTR(Structure):
592592
typekind = hints.AnnoField() # type: int
593593
cFuncs = hints.AnnoField() # type: int
594594
cVars = hints.AnnoField() # type: int
595-
cImplTypes = hints.AnnoField() # type: int
595+
cImplTypes = hints.AnnoField() # type: int
596596
cbSizeVft = hints.AnnoField() # type: int
597597
cbAlignment = hints.AnnoField() # type: int
598598
wTypeFlags = hints.AnnoField() # type: int

comtypes/viewobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class IViewObjectEx(IViewObject2):
147147
DVASPECT_CONTENT = 1
148148
DVASPECT_THUMBNAIL = 2
149149
DVASPECT_ICON = 4
150-
DVASPECT_DOCPRINT = 8
150+
DVASPECT_DOCPRINT = 8
151151

152152
DVASPECT2 = c_int # enum
153153
DVASPECT_OPAQUE = 16

0 commit comments

Comments
 (0)