From 3230f7aad41f866e5e3dbc34e87b572d1e68f08a Mon Sep 17 00:00:00 2001 From: junkmd Date: Sat, 2 Nov 2024 18:23:12 +0900 Subject: [PATCH] Update import orderings. --- comtypes/_post_coinit/unknwn.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/comtypes/_post_coinit/unknwn.py b/comtypes/_post_coinit/unknwn.py index d0499ef2..3b345489 100644 --- a/comtypes/_post_coinit/unknwn.py +++ b/comtypes/_post_coinit/unknwn.py @@ -1,21 +1,19 @@ # https://learn.microsoft.com/en-us/windows/win32/api/unknwn/ -from ctypes import byref, c_ulong, c_void_p, HRESULT, POINTER - import logging import sys +from ctypes import HRESULT, POINTER, byref, c_ulong, c_void_p from typing import ClassVar, TYPE_CHECKING, TypeVar from typing import Optional from typing import List, Type -from comtypes._post_coinit import _cominterface_meta_patcher as _meta_patch from comtypes import GUID, _ole32_nohresult, com_interface_registry from comtypes._idl_stuff import STDMETHOD from comtypes._memberspec import ComMemberGenerator, DispMemberGenerator from comtypes._memberspec import _ComMemberSpec, _DispMemberSpec +from comtypes._post_coinit import _cominterface_meta_patcher as _meta_patch from comtypes._py_instance_method import instancemethod - logger = logging.getLogger(__name__)