mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
idlelib: remove unused names and imports (one is a duplicate import).
This commit is contained in:
parent
82796193f9
commit
2733618fd9
8 changed files with 5 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue