Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2fb369c

Browse files
committed
Merge with 3.4 #22614
2 parents 3efa148 + efc7258 commit 2fb369c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Lib/idlelib/PyShell.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ def filename_changed_hook(old_hook=self.io.filename_change_hook,
151151

152152
def color_breakpoint_text(self, color=True):
153153
"Turn colorizing of breakpoint text on or off"
154+
if self.io is None:
155+
# possible due to update in restore_file_breaks
156+
return
154157
if color:
155158
theme = idleConf.GetOption('main','Theme','name')
156159
cfg = idleConf.GetHighlight(theme, "break")

0 commit comments

Comments
 (0)