Writes the object's contents encoded to self.stream.
(self, object)
| 374 | self.errors = errors |
| 375 | |
| 376 | def write(self, object): |
| 377 | |
| 378 | """ Writes the object's contents encoded to self.stream. |
| 379 | """ |
| 380 | data, consumed = self.encode(object, self.errors) |
| 381 | self.stream.write(data) |
| 382 | |
| 383 | def writelines(self, list): |
| 384 |
no test coverage detected