mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +00:00
Issue #23184: idlelib, remove more unused names and imports.
This commit is contained in:
parent
2733618fd9
commit
038c16b9a0
6 changed files with 10 additions and 20 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue