]> granicus.if.org Git - python/commitdiff
Merged revisions 56265-56300 via svnmerge from
authorGuido van Rossum <guido@python.org>
Thu, 12 Jul 2007 08:55:44 +0000 (08:55 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 12 Jul 2007 08:55:44 +0000 (08:55 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/p3yk

........
  r56274 | georg.brandl | 2007-07-11 08:10:46 -0700 (Wed, 11 Jul 2007) | 2 lines

  Fix #1751965, typo in isinstance.
........

Lib/lib-tk/ScrolledText.py

index 19ad6dd3602779770fa5ee322500ba5ec8ab8c9a..95fd423759b9822b564e6d29abf8fdf98e98921a 100644 (file)
@@ -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)