Show More
@@ -6,17 +6,12 b' This includes the machinery to recognise and transform ``%magic`` commands,' | |||||
6 | import abc |
|
6 | import abc | |
7 | import functools |
|
7 | import functools | |
8 | import re |
|
8 | import re | |
|
9 | from io import StringIO | |||
9 |
|
10 | |||
10 | from IPython.core.splitinput import LineInfo |
|
11 | from IPython.core.splitinput import LineInfo | |
11 | from IPython.utils import tokenize2 |
|
12 | from IPython.utils import tokenize2 | |
12 | from IPython.utils.py3compat import PY3 |
|
|||
13 | from IPython.utils.tokenize2 import generate_tokens, untokenize, TokenError |
|
13 | from IPython.utils.tokenize2 import generate_tokens, untokenize, TokenError | |
14 |
|
14 | |||
15 | if PY3: |
|
|||
16 | from io import StringIO |
|
|||
17 | else: |
|
|||
18 | from StringIO import StringIO |
|
|||
19 |
|
||||
20 | #----------------------------------------------------------------------------- |
|
15 | #----------------------------------------------------------------------------- | |
21 | # Globals |
|
16 | # Globals | |
22 | #----------------------------------------------------------------------------- |
|
17 | #----------------------------------------------------------------------------- |
General Comments 0
You need to be logged in to leave comments.
Login now