Show More
@@ -70,7 +70,8 b' class mixedfilemodewrapper(object):' | |||||
70 | object.__setattr__(self, r'_lastop', 0) |
|
70 | object.__setattr__(self, r'_lastop', 0) | |
71 |
|
71 | |||
72 | def __enter__(self): |
|
72 | def __enter__(self): | |
73 |
|
|
73 | self._fp.__enter__() | |
|
74 | return self | |||
74 |
|
75 | |||
75 | def __exit__(self, exc_type, exc_val, exc_tb): |
|
76 | def __exit__(self, exc_type, exc_val, exc_tb): | |
76 | self._fp.__exit__(exc_type, exc_val, exc_tb) |
|
77 | self._fp.__exit__(exc_type, exc_val, exc_tb) |
General Comments 0
You need to be logged in to leave comments.
Login now