mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
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
54923951ad
commit
3f5de1316d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue