Skip to content

Commit d1ce6fe

Browse files
committed
Fix module name
1 parent 577103e commit d1ce6fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/ctypes/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def LoadLibrary(self, name):
476476
pydll = LibraryLoader(PyDLL)
477477

478478
if _os.name == "nt":
479-
if 'mingw' in sys.version.lower():
479+
if 'mingw' in _sys.version.lower():
480480
pythonapi = PyDLL("libpython%d.%d%s.dll" % (_sys.version_info[:2] + (_sys.abiflags,)), None)
481481
else:
482482
pythonapi = PyDLL("python.dll", None, _sys.dllhandle)

0 commit comments

Comments
 (0)