Show More
@@ -9,8 +9,7 b' import IPython' | |||
|
9 | 9 | from IPython.utils.importstring import import_item |
|
10 | 10 | from IPython.utils.path import ( |
|
11 | 11 | get_home_dir, get_xdg_dir, get_xdg_cache_dir, compress_user, _writable_dir, |
|
12 |
ensure_dir_exists, fs_encoding |
|
|
13 | ) | |
|
12 | ensure_dir_exists, fs_encoding) | |
|
14 | 13 | from IPython.utils import py3compat |
|
15 | 14 | |
|
16 | 15 | def get_ipython_dir(): |
@@ -11,16 +11,11 b' interface for IronPython will probably require you to help fill' | |||
|
11 | 11 | in the details. |
|
12 | 12 | """ |
|
13 | 13 | |
|
14 | # Import cli libraries: | |
|
15 | import clr | |
|
16 | import System | |
|
17 | 14 | |
|
18 | # Import Python libraries: | |
|
15 | import System | |
|
19 | 16 | import os |
|
20 | ||
|
21 | # Import IPython libraries: | |
|
22 | 17 | from IPython.utils import py3compat |
|
23 | from ._process_common import arg_split | |
|
18 | ||
|
24 | 19 | |
|
25 | 20 | def _find_cmd(cmd): |
|
26 | 21 | """Find the full path to a command using which.""" |
@@ -5,12 +5,8 b' Wrapper around linecache which decodes files to unicode according to PEP 263.' | |||
|
5 | 5 | """ |
|
6 | 6 | import functools |
|
7 | 7 | import linecache |
|
8 | import sys | |
|
9 | 8 | from warnings import warn |
|
10 | 9 | |
|
11 | from IPython.utils import py3compat | |
|
12 | from IPython.utils import openpy | |
|
13 | ||
|
14 | 10 | getline = linecache.getline |
|
15 | 11 | |
|
16 | 12 | # getlines has to be looked up at runtime, because doctests monkeypatch it. |
General Comments 0
You need to be logged in to leave comments.
Login now