File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -46,21 +46,17 @@ def __call__(self, *args):
46
46
47
47
def __getitem__ (self , * args ):
48
48
return self ._obj ._comobj .Invoke (
49
- self ._id , * args , ** dict ( _invkind = comtypes .automation .DISPATCH_PROPERTYGET )
49
+ self ._id , * args , _invkind = comtypes .automation .DISPATCH_PROPERTYGET
50
50
)
51
51
52
52
def __setitem__ (self , * args ):
53
53
if _is_object (args [- 1 ]):
54
54
self ._obj ._comobj .Invoke (
55
- self ._id ,
56
- * args ,
57
- ** dict (_invkind = comtypes .automation .DISPATCH_PROPERTYPUTREF )
55
+ self ._id , * args , _invkind = comtypes .automation .DISPATCH_PROPERTYPUTREF
58
56
)
59
57
else :
60
58
self ._obj ._comobj .Invoke (
61
- self ._id ,
62
- * args ,
63
- ** dict (_invkind = comtypes .automation .DISPATCH_PROPERTYPUT )
59
+ self ._id , * args , _invkind = comtypes .automation .DISPATCH_PROPERTYPUT
64
60
)
65
61
66
62
You can’t perform that action at this time.
0 commit comments