Kaydet (Commit) 3601a380 authored tarafından Georg Brandl's avatar Georg Brandl

#6482: simplify "except: raise" to "finally:".

üst a99dedfc
......@@ -1066,10 +1066,10 @@ class Popen(object):
gc.disable()
try:
self.pid = os.fork()
except:
finally:
if gc_was_enabled:
gc.enable()
raise
self._child_created = True
if self.pid == 0:
# Child
......
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