summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/CodeContext.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/CodeContext.py b/Lib/idlelib/CodeContext.py
index 436206f..28e99c5 100644
--- a/Lib/idlelib/CodeContext.py
+++ b/Lib/idlelib/CodeContext.py
@@ -71,7 +71,7 @@ class CodeContext:
#
# To avoid possible errors, all references to the inner workings
# of Tk are executed inside try/except blocks.
-
+
widgets_for_width_calc = self.editwin.text, self.editwin.text_frame
# calculate the required vertical padding
@@ -113,7 +113,7 @@ class CodeContext:
# above it.
self.label.pack(side="top", fill="x", expand=False,
before=self.editwin.text_frame)
-
+
else:
self.label.destroy()
self.label = None