diff --git a/Lib/lib-tk/ScrolledText.py b/Lib/lib-tk/ScrolledText.py index 19ad6dd3602..95fd423759b 100644 --- a/Lib/lib-tk/ScrolledText.py +++ b/Lib/lib-tk/ScrolledText.py @@ -21,7 +21,7 @@ class ScrolledText(Text): cnf = _cnfmerge((cnf, kw)) fcnf = {} for k in cnf.keys(): - if isinstace(k, type) or k == 'name': + if isinstance(k, type) or k == 'name': fcnf[k] = cnf[k] del cnf[k] self.frame = Frame(master, **fcnf)