summaryrefslogtreecommitdiff
path: root/Lib/tempfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/tempfile.py')
-rw-r--r--Lib/tempfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index 92fb040c4a..1c718145d3 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -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="",