Return, transformed any lines that the transformer has accumulated, and reset its internal state. Must be overridden by subclasses.
(self)
| 56 | |
| 57 | @abc.abstractmethod |
| 58 | def reset(self): |
| 59 | """Return, transformed any lines that the transformer has accumulated, |
| 60 | and reset its internal state. |
| 61 | |
| 62 | Must be overridden by subclasses. |
| 63 | """ |
| 64 | pass |
| 65 | |
| 66 | @classmethod |
| 67 | def wrap(cls, func): |