Skip to content

Commit 73b91b7

Browse files
authored
Apply suggestion from @vstinner
1 parent 6161daf commit 73b91b7

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Lib/ctypes/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,6 @@ def LoadLibrary(self, name):
553553
# These are Unix-like platforms which use a dynamically-linked libpython.
554554
pythonapi = PyDLL(_sysconfig.get_config_var("LDLIBRARY"))
555555
elif _sys.platform == "cygwin":
556-
# These platforms must load the DLL file from DLLLIBRARY
557-
# and not the import library provided by LDLIBRARY.
558556
pythonapi = PyDLL(_sysconfig.get_config_var("DLLLIBRARY"))
559557
else:
560558
pythonapi = PyDLL(None)

0 commit comments

Comments
 (0)