idlelib: remove unused names and imports (one is a duplicate import).

This commit is contained in:
Terry Jan Reedy 2015-05-14 18:10:50 -04:00
parent 82796193f9
commit 2733618fd9
8 changed files with 5 additions and 12 deletions

View file

@ -1,5 +1,4 @@
import os
import types
import shlex
import sys
import codecs
@ -525,7 +524,7 @@ class IOBinding:
if self.editwin.flist:
self.editwin.update_recent_files_list(filename)
def _io_binding(parent):
def _io_binding(parent): # htest #
root = Tk()
root.title("Test IOBinding")
width, height, x, y = list(map(int, re.split('[x+]', parent.geometry())))
@ -548,7 +547,7 @@ def _io_binding(parent):
text.pack()
text.focus_set()
editwin = MyEditWin(text)
io = IOBinding(editwin)
IOBinding(editwin)
if __name__ == "__main__":
from idlelib.idle_test.htest import run