Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ac96ec

Browse files
JackMcserhiy-storchaka
authored andcommitted
Fix misplaced positional argument in OS X support library (#1137)
1 parent 413a891 commit 7ac96ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/_osx_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def _remove_universal_flags(_config_vars):
210210
# Do not alter a config var explicitly overridden by env var
211211
if cv in _config_vars and cv not in os.environ:
212212
flags = _config_vars[cv]
213-
flags = re.sub(r'-arch\s+\w+\s', ' ', flags, re.ASCII)
213+
flags = re.sub(r'-arch\s+\w+\s', ' ', flags, flags=re.ASCII)
214214
flags = re.sub('-isysroot [^ \t]*', ' ', flags)
215215
_save_modified_value(_config_vars, cv, flags)
216216

0 commit comments

Comments
 (0)