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

@ -245,7 +245,7 @@ class TreeNode:
else:
self.edit_finish()
try:
label = self.label
self.label
except AttributeError:
# padding carefully selected (on Windows) to match Entry widget:
self.label = Label(self.canvas, text=text, bd=0, padx=2, pady=2)