summaryrefslogtreecommitdiffstats
path: root/Tools/idle
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-09-20 00:17:39 (GMT)
committerGuido van Rossum <guido@python.org>2000-09-20 00:17:39 (GMT)
commitbdd901714d5c1e5e2012d91f87633845cc270be5 (patch)
tree15083a5c5327ec6d3248ea539f545a79acad5436 /Tools/idle
parent9c0ea13ece57d3c5f518e5b1d0d75cc83a7a1c38 (diff)
downloadcpython-bdd901714d5c1e5e2012d91f87633845cc270be5.zip
cpython-bdd901714d5c1e5e2012d91f87633845cc270be5.tar.gz
cpython-bdd901714d5c1e5e2012d91f87633845cc270be5.tar.bz2
Fix typo (newtabwith).
Diffstat (limited to 'Tools/idle')
-rw-r--r--Tools/idle/EditorWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/idle/EditorWindow.py b/Tools/idle/EditorWindow.py
index d744a2e..5feda4b 100644
--- a/Tools/idle/EditorWindow.py
+++ b/Tools/idle/EditorWindow.py
@@ -674,7 +674,7 @@ class EditorWindow:
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):