We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 577103e commit d1ce6feCopy full SHA for d1ce6fe
Lib/ctypes/__init__.py
@@ -476,7 +476,7 @@ def LoadLibrary(self, name):
476
pydll = LibraryLoader(PyDLL)
477
478
if _os.name == "nt":
479
- if 'mingw' in sys.version.lower():
+ if 'mingw' in _sys.version.lower():
480
pythonapi = PyDLL("libpython%d.%d%s.dll" % (_sys.version_info[:2] + (_sys.abiflags,)), None)
481
else:
482
pythonapi = PyDLL("python.dll", None, _sys.dllhandle)
0 commit comments