diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-05-14 18:10:50 -0400 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-05-14 18:10:50 -0400 |
commit | 2733618fd933bebc5a1c33437135b2cc3aacb018 (patch) | |
tree | 646906cf0e738c2f296198073f9aaf9a264009dc /Lib/idlelib/IOBinding.py | |
parent | 82796193f9d8a4f5f85f438bd8b9a5a0efbbaabe (diff) | |
download | cpython-git-2733618fd933bebc5a1c33437135b2cc3aacb018.tar.gz |
idlelib: remove unused names and imports (one is a duplicate import).
Diffstat (limited to 'Lib/idlelib/IOBinding.py')
-rw-r--r-- | Lib/idlelib/IOBinding.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/idlelib/IOBinding.py b/Lib/idlelib/IOBinding.py index 841a30810a..505cc8b83e 100644 --- a/Lib/idlelib/IOBinding.py +++ b/Lib/idlelib/IOBinding.py @@ -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 |