Show More
@@ -183,7 +183,6 b' import re' | |||
|
183 | 183 | import shlex |
|
184 | 184 | import sys |
|
185 | 185 | |
|
186 | from IPython.utils import io | |
|
187 | 186 | from IPython.utils.text import marquee |
|
188 | 187 | from IPython.utils import openpy |
|
189 | 188 | from IPython.utils import py3compat |
@@ -538,7 +537,7 b' class LineDemo(Demo):' | |||
|
538 | 537 | self.src_blocks = src_b |
|
539 | 538 | |
|
540 | 539 | # also build syntax-highlighted source |
|
541 | self.src_blocks_colored = map(self.ip_colorize,self.src_blocks) | |
|
540 | self.src_blocks_colored = list(map(self.ip_colorize,self.src_blocks)) | |
|
542 | 541 | |
|
543 | 542 | # ensure clean namespace and seek offset |
|
544 | 543 | self.reset() |
@@ -572,8 +571,8 b' class ClearMixin(object):' | |||
|
572 | 571 | """Method called before executing each block. |
|
573 | 572 | |
|
574 | 573 | This one simply clears the screen.""" |
|
575 | from IPython.utils.terminal import term_clear | |
|
576 | term_clear() | |
|
574 | from IPython.utils.terminal import _term_clear | |
|
575 | _term_clear() | |
|
577 | 576 | |
|
578 | 577 | class ClearDemo(ClearMixin,Demo): |
|
579 | 578 | pass |
General Comments 0
You need to be logged in to leave comments.
Login now