Commit 4f247679 authored by Benjamin Peterson's avatar Benjamin Peterson

proxy the __exit__ call

parent 321afa80
......@@ -413,7 +413,7 @@ class _TemporaryFileWrapper:
return result
else:
def __exit__(self, exc, value, tb):
pass
self.file.__exit__(exc, value, tb)
def NamedTemporaryFile(mode='w+b', bufsize=-1, suffix="",
......
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