##// END OF EJS Templates
import StringIO from io package
Srinivas Reddy Thatiparthy -
Show More
@@ -133,7 +133,7 b' import tempfile'
133 import ast
133 import ast
134 import warnings
134 import warnings
135 import shutil
135 import shutil
136
136 from io import StringIO
137
137
138 # Third-party
138 # Third-party
139 from docutils.parsers.rst import directives
139 from docutils.parsers.rst import directives
@@ -144,12 +144,6 b' from traitlets.config import Config'
144 from IPython import InteractiveShell
144 from IPython import InteractiveShell
145 from IPython.core.profiledir import ProfileDir
145 from IPython.core.profiledir import ProfileDir
146 from IPython.utils import io
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 # Globals
149 # Globals
General Comments 0
You need to be logged in to leave comments. Login now