Skip to content

Commit

Permalink
adjust styles of client/__init__.py (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
junkmd authored Dec 27, 2022
1 parent 18cafb0 commit 12d22a2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions comtypes/client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'''comtypes.client - High level client level COM support package.
'''
"""comtypes.client - High level client level COM support package."""

################################################################
#
Expand All @@ -17,7 +16,7 @@
import comtypes
from comtypes.hresult import *
from comtypes import (
automation, CoClass, GUID, IUnknown, TYPE_CHECKING, typeinfo,
automation, CoClass, GUID, IUnknown, TYPE_CHECKING, typeinfo
)
import comtypes.client.dynamic
from comtypes.client._constants import Constants
Expand All @@ -27,6 +26,7 @@

gen_dir = _find_gen_dir()
import comtypes.gen

### for testing
##gen_dir = None

Expand Down Expand Up @@ -220,7 +220,8 @@ def CreateObject(progid, # which object to create
machine=None, # where to create the object
interface=None, # the interface we want
dynamic=False, # use dynamic dispatch
pServerInfo=None): # server info struct for remoting
pServerInfo=None, # server info struct for remoting
):
# type: (_UnionT[str, CoClass, GUID], Optional[int], Optional[str], Optional[Type[IUnknown]], bool, Optional[comtypes.COSERVERINFO]) -> Any
"""Create a COM object from 'progid', and try to QueryInterface()
it to the most useful interface, generating typelib support on
Expand Down

0 comments on commit 12d22a2

Please sign in to comment.