summaryrefslogtreecommitdiffstats
path: root/Lib/tempfile.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-08-13 08:57:20 (GMT)
committerGeorg Brandl <georg@python.org>2009-08-13 08:57:20 (GMT)
commitc8b3891d49b86df04de7be3e58c4f6c4eb081249 (patch)
tree99a6e06c2f108e59dd9abd670946b482d0f855d3 /Lib/tempfile.py
parentc3c3eaf937c137ae50826d4aac25d239ca29f6f9 (diff)
downloadcpython-c8b3891d49b86df04de7be3e58c4f6c4eb081249.zip
cpython-c8b3891d49b86df04de7be3e58c4f6c4eb081249.tar.gz
cpython-c8b3891d49b86df04de7be3e58c4f6c4eb081249.tar.bz2
Merged revisions 73749 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k ................ r73749 | benjamin.peterson | 2009-07-01 17:47:07 +0200 (Mi, 01 Jul 2009) | 9 lines Merged revisions 73744 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r73744 | benjamin.peterson | 2009-07-01 08:34:35 -0500 (Wed, 01 Jul 2009) | 1 line proxy the __exit__ call ........ ................
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 8cdefaa..93405a8 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -410,7 +410,7 @@ class _TemporaryFileWrapper:
return result
else:
def __exit__(self, exc, value, tb):
- pass
+ self.file.__exit__(exc, value, tb)
def NamedTemporaryFile(mode='w+b', buffering=-1, encoding=None,