Kaydet (Commit) 1379b840 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Use `with`

üst 8c510e70
......@@ -1732,7 +1732,8 @@ class PyBuildExt(build_ext):
return False
fficonfig = {}
exec open(ffi_configfile) in fficonfig
with open(ffi_configfile) as f:
exec f in fficonfig
# Add .S (preprocessed assembly) to C compiler source extensions.
self.compiler_obj.src_extensions.append('.S')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment