Show More
@@ -267,7 +267,8 b' else:' | |||||
267 | return self._file.__setattr__(name, value) |
|
267 | return self._file.__setattr__(name, value) | |
268 |
|
268 | |||
269 | def __enter__(self): |
|
269 | def __enter__(self): | |
270 |
|
|
270 | self._file.__enter__() | |
|
271 | return self | |||
271 |
|
272 | |||
272 | def __exit__(self, exc_type, exc_value, exc_tb): |
|
273 | def __exit__(self, exc_type, exc_value, exc_tb): | |
273 | return self._file.__exit__(exc_type, exc_value, exc_tb) |
|
274 | return self._file.__exit__(exc_type, exc_value, exc_tb) |
General Comments 0
You need to be logged in to leave comments.
Login now