(self, *data)
| 15 | self.count = 0 |
| 16 | |
| 17 | def write(self, *data): |
| 18 | for s in data: |
| 19 | if len(s) > self.column: |
| 20 | raise ValueError("token is too long") |
| 21 | if len(s) + self.clen > self.column: |
| 22 | self.flush() |
| 23 | self.clen += len(s) |
| 24 | self.cline.append(s) |
| 25 | self.count += 1 |
| 26 | |
| 27 | def flush(self): |
| 28 | if not self.cline: |
no test coverage detected