diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-05-16 03:03:17 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-05-16 03:03:17 (GMT) |
commit | 038c16b9a07b0905cef4760e5a5e92e322f56396 (patch) | |
tree | 422e29c8808586b9a742af892f0856d85d7554b2 /Lib/idlelib/EditorWindow.py | |
parent | 2733618fd933bebc5a1c33437135b2cc3aacb018 (diff) | |
download | cpython-038c16b9a07b0905cef4760e5a5e92e322f56396.zip cpython-038c16b9a07b0905cef4760e5a5e92e322f56396.tar.gz cpython-038c16b9a07b0905cef4760e5a5e92e322f56396.tar.bz2 |
Issue #23184: idlelib, remove more unused names and imports.
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r-- | Lib/idlelib/EditorWindow.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py index 1520ad0..ef35ffe 100644 --- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -13,7 +13,6 @@ import traceback import webbrowser from idlelib.MultiCall import MultiCallCreator -from idlelib import idlever from idlelib import WindowList from idlelib import SearchDialog from idlelib import GrepDialog @@ -125,7 +124,6 @@ class EditorWindow(object): EditorWindow.help_url = 'file://' + EditorWindow.help_url else: EditorWindow.help_url = "https://docs.python.org/%d.%d/" % sys.version_info[:2] - currentTheme=idleConf.CurrentTheme() self.flist = flist root = root or flist.root self.root = root @@ -714,7 +712,7 @@ class EditorWindow(object): cmd = [sys.executable, '-c', 'from turtledemo.__main__ import main; main()'] - p = subprocess.Popen(cmd, shell=False) + subprocess.Popen(cmd, shell=False) def gotoline(self, lineno): if lineno is not None and lineno > 0: |