mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
bpo-36152: IDLE: Remove unused parameter from colorizer (GH-12109)
Remove colorizer.ColorDelegator.close_when_done and the corresponding argument of .close(). In IDLE, both have always been None or False since 2007.
This commit is contained in:
parent
d60a79a101
commit
b9f0354efc
3 changed files with 6 additions and 18 deletions
|
|
@ -1033,7 +1033,7 @@ class EditorWindow(object):
|
|||
self.io = None
|
||||
self.undo = None
|
||||
if self.color:
|
||||
self.color.close(False)
|
||||
self.color.close()
|
||||
self.color = None
|
||||
self.text = None
|
||||
self.tkinter_vars = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue