We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_ctypes
1 parent 2ef4476 commit c690cf2Copy full SHA for c690cf2
1 file changed
comtypes/server/register.py
@@ -36,6 +36,7 @@
36
python mycomobj.py /nodebug
37
"""
38
39
+import _ctypes
40
import ctypes
41
import logging
42
import os
@@ -225,8 +226,6 @@ def _get_serverdll() -> str:
225
226
handle = getattr(sys, "frozendllhandle", None)
227
if handle is not None:
228
return GetModuleFileName(handle, 260)
- import _ctypes
229
-
230
return _ctypes.__file__
231
232
0 commit comments