Commit 98d23f2e authored by Benjamin Peterson's avatar Benjamin Peterson

Merged revisions 73710 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73710 | benjamin.peterson | 2009-06-30 17:14:33 -0500 (Tue, 30 Jun 2009) | 1 line

  provide a dummy __exit__ on windows
........
parent 835a6c84
......@@ -408,6 +408,9 @@ class _TemporaryFileWrapper:
result = self.file.__exit__(exc, value, tb)
self.close()
return result
else:
def __exit__(self, exc, value, tb):
pass
def NamedTemporaryFile(mode='w+b', buffering=-1, encoding=None,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment