Method called before executing each block. This one simply clears the screen.
(self)
| 618 | return '' |
| 619 | |
| 620 | def pre_cmd(self): |
| 621 | """Method called before executing each block. |
| 622 | |
| 623 | This one simply clears the screen.""" |
| 624 | from IPython.utils.terminal import _term_clear |
| 625 | _term_clear() |
| 626 | |
| 627 | class ClearDemo(ClearMixin,Demo): |
| 628 | pass |
nothing calls this directly
no test coverage detected