mirror of https://github.com/python/cpython
proxy the __exit__ call
This commit is contained in:
parent
321afa80ba
commit
4f24767938
|
@ -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="",
|
||||
|
|
Loading…
Reference in New Issue