mirror of https://github.com/python/cpython
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 ........ ................
This commit is contained in:
parent
c3c3eaf937
commit
c8b3891d49
|
@ -410,7 +410,7 @@ class _TemporaryFileWrapper:
|
||||||
return result
|
return result
|
||||||
else:
|
else:
|
||||||
def __exit__(self, exc, value, tb):
|
def __exit__(self, exc, value, tb):
|
||||||
pass
|
self.file.__exit__(exc, value, tb)
|
||||||
|
|
||||||
|
|
||||||
def NamedTemporaryFile(mode='w+b', buffering=-1, encoding=None,
|
def NamedTemporaryFile(mode='w+b', buffering=-1, encoding=None,
|
||||||
|
|
Loading…
Reference in New Issue