(self, s)
| 130 | return "".join(b) # bytes on py2, str on py3. |
| 131 | |
| 132 | def write(self, s): |
| 133 | if isinstance(s, bytes): |
| 134 | s = s.decode(self.encoding, errors="replace") |
| 135 | self.buflist.append(s) |
| 136 | |
| 137 | def isatty(self): |
| 138 | return False |
no test coverage detected