Merged revisions 56265-56300 via svnmerge from

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.
........
This commit is contained in:
Guido van Rossum 2007-07-12 08:55:44 +00:00
parent a5d0c260ac
commit fc0ffb7243
1 changed files with 1 additions and 1 deletions

View 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)