Send a line of input to the transformer, returning the transformed input.
(self, line)
| 83 | return "StatelessInputTransformer(func={0!r})".format(self.func) |
| 84 | |
| 85 | def push(self, line): |
| 86 | """Send a line of input to the transformer, returning the |
| 87 | transformed input.""" |
| 88 | return self.func(line) |
| 89 | |
| 90 | def reset(self): |
| 91 | """No-op - exists for compatibility.""" |