Issue #23184: idlelib, remove more unused names and imports.

This commit is contained in:
Terry Jan Reedy 2015-05-15 23:03:17 -04:00
parent 2733618fd9
commit 038c16b9a0
6 changed files with 10 additions and 20 deletions

View file

@ -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: