Show More
@@ -133,7 +133,7 b' import tempfile' | |||
|
133 | 133 | import ast |
|
134 | 134 | import warnings |
|
135 | 135 | import shutil |
|
136 | ||
|
136 | from io import StringIO | |
|
137 | 137 | |
|
138 | 138 | # Third-party |
|
139 | 139 | from docutils.parsers.rst import directives |
@@ -144,12 +144,6 b' from traitlets.config import Config' | |||
|
144 | 144 | from IPython import InteractiveShell |
|
145 | 145 | from IPython.core.profiledir import ProfileDir |
|
146 | 146 | from IPython.utils import io |
|
147 | from IPython.utils.py3compat import PY3 | |
|
148 | ||
|
149 | if PY3: | |
|
150 | from io import StringIO | |
|
151 | else: | |
|
152 | from StringIO import StringIO | |
|
153 | 147 | |
|
154 | 148 | #----------------------------------------------------------------------------- |
|
155 | 149 | # Globals |
General Comments 0
You need to be logged in to leave comments.
Login now