mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +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
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue