diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-07-01 15:47:07 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-07-01 15:47:07 (GMT) |
commit | 3f5de1316d125e59dc7be51bde43fe6d87229c55 (patch) | |
tree | efc9db79e826427b03c3ba2a705befba3346c779 /Lib/tempfile.py | |
parent | 54923951ad1bdd33028f94ed337e1a0473366605 (diff) | |
download | cpython-3f5de1316d125e59dc7be51bde43fe6d87229c55.zip cpython-3f5de1316d125e59dc7be51bde43fe6d87229c55.tar.gz cpython-3f5de1316d125e59dc7be51bde43fe6d87229c55.tar.bz2 |
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.py | 2 |
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, |