mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Fix typo (newtabwith).
This commit is contained in:
parent
9c0ea13ece
commit
bdd901714d
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue