@@ -157,7 +157,7 @@ def _find_appropriate_compiler(_config_vars):
157157 # gcc-4.2 is either not present, or a copy of 'llvm-gcc' that
158158 # miscompiles Python.
159159
160- # skip checks if the compiler was overriden with a CC env variable
160+ # skip checks if the compiler was overridden with a CC env variable
161161 if 'CC' in os .environ :
162162 return _config_vars
163163
@@ -193,7 +193,7 @@ def _find_appropriate_compiler(_config_vars):
193193 if cc != oldcc :
194194 # Found a replacement compiler.
195195 # Modify config vars using new compiler, if not already explicitly
196- # overriden by an env variable, preserving additional arguments.
196+ # overridden by an env variable, preserving additional arguments.
197197 for cv in _COMPILER_CONFIG_VARS :
198198 if cv in _config_vars and cv not in os .environ :
199199 cv_split = _config_vars [cv ].split ()
@@ -207,7 +207,7 @@ def _remove_universal_flags(_config_vars):
207207 """Remove all universal build arguments from config vars"""
208208
209209 for cv in _UNIVERSAL_CONFIG_VARS :
210- # Do not alter a config var explicitly overriden by env var
210+ # 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 ]
213213 flags = re .sub ('-arch\s+\w+\s' , ' ' , flags , re .ASCII )
@@ -228,7 +228,7 @@ def _remove_unsupported_archs(_config_vars):
228228 # build extensions on OSX 10.7 and later with the prebuilt
229229 # 32-bit installer on the python.org website.
230230
231- # skip checks if the compiler was overriden with a CC env variable
231+ # skip checks if the compiler was overridden with a CC env variable
232232 if 'CC' in os .environ :
233233 return _config_vars
234234
@@ -244,7 +244,7 @@ def _remove_unsupported_archs(_config_vars):
244244 # across Xcode and compiler versions, there is no reliable way
245245 # to be sure why it failed. Assume here it was due to lack of
246246 # PPC support and remove the related '-arch' flags from each
247- # config variables not explicitly overriden by an environment
247+ # config variables not explicitly overridden by an environment
248248 # variable. If the error was for some other reason, we hope the
249249 # failure will show up again when trying to compile an extension
250250 # module.
@@ -292,7 +292,7 @@ def _check_for_unavailable_sdk(_config_vars):
292292 sdk = m .group (1 )
293293 if not os .path .exists (sdk ):
294294 for cv in _UNIVERSAL_CONFIG_VARS :
295- # Do not alter a config var explicitly overriden by env var
295+ # Do not alter a config var explicitly overridden by env var
296296 if cv in _config_vars and cv not in os .environ :
297297 flags = _config_vars [cv ]
298298 flags = re .sub (r'-isysroot\s+\S+(?:\s|$)' , ' ' , flags )
0 commit comments