Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f74560 + 5b09a81 commit c678a87Copy full SHA for c678a87
IPython/core/interactiveshell.py
@@ -29,17 +29,11 @@
29
import sys
30
import tempfile
31
import types
32
-
33
-# We need to use nested to support python 2.6, once we move to >=2.7, we can
34
-# use the with keyword's new builtin support for nested managers
35
-try:
36
- from contextlib import nested
37
-except:
38
- from IPython.utils.nested_context import nested
+import urllib
+from io import open as io_open
39
40
from IPython.config.configurable import SingletonConfigurable
41
from IPython.core import debugger, oinspect
42
-from IPython.core import history as ipcorehist
43
from IPython.core import magic
44
from IPython.core import page
45
from IPython.core import prefilter
0 commit comments