Skip to content

Commit 701ff5b

Browse files
Update Lib/ctypes/__init__.py
Co-authored-by: Serhiy Storchaka <[email protected]>
1 parent 06df096 commit 701ff5b

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
@@ -453,7 +453,7 @@ def _load_library(self, name, mode, handle, winmode):
453453
Otherwise, name is presented to dlopen() as a file argument.
454454
"""
455455
if name and name.endswith(")") and ".a(" in name:
456-
mode |= ( _os.RTLD_MEMBER | _os.RTLD_NOW )
456+
mode |= _os.RTLD_MEMBER | _os.RTLD_NOW
457457
# If the filename that has been provided is an iOS/tvOS/watchOS
458458
# .fwork file, dereference the location to the true origin of the
459459
# binary.

0 commit comments

Comments
 (0)