proxy the __exit__ call

This commit is contained in:
Benjamin Peterson 2009-07-01 13:34:35 +00:00
parent 321afa80ba
commit 4f24767938
1 changed files with 1 additions and 1 deletions

View File

@ -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="",