Skip to content

Commit

Permalink
Run black
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Feb 8, 2024
1 parent 4a364be commit 2db7f95
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Pythonwin/pywin/Demos/ocx/msoffice.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ def Create(self, title, rect=None, parent=None):
)

# WordModule.Word doesn't exist in WordModule, WordModule.Words does, but CreateControl still fails
class MyWordControl(activex.Control, WordModule.Word):
...
class MyWordControl(activex.Control, WordModule.Word): ...

style = win32con.WS_CHILD | win32con.WS_VISIBLE | win32con.WS_OVERLAPPEDWINDOW
self._obj_.CreateWindow(None, title, style, rect, parent)
Expand Down

0 comments on commit 2db7f95

Please sign in to comment.