diff --git a/Tools/idle/EditorWindow.py b/Tools/idle/EditorWindow.py index d744a2e386c..5feda4b7252 100644 --- a/Tools/idle/EditorWindow.py +++ b/Tools/idle/EditorWindow.py @@ -674,7 +674,7 @@ def set_tabwidth(self, newtabwidth): if self.get_tabwidth() != newtabwidth: pixels = text.tk.call("font", "measure", text["font"], "-displayof", text.master, - "n" * newtabwith) + "n" * newtabwidth) text.configure(tabs=pixels) def prepstr(s):