[Python-3000-checkins] r56274 - python/branches/p3yk/Lib/lib-tk/ScrolledText.py

georg.brandl python-3000-checkins at python.org
Wed Jul 11 17:10:46 CEST 2007


Author: georg.brandl
Date: Wed Jul 11 17:10:46 2007
New Revision: 56274

Modified:
   python/branches/p3yk/Lib/lib-tk/ScrolledText.py
Log:
Fix #1751965, typo in isinstance.


Modified: python/branches/p3yk/Lib/lib-tk/ScrolledText.py
==============================================================================
--- python/branches/p3yk/Lib/lib-tk/ScrolledText.py	(original)
+++ python/branches/p3yk/Lib/lib-tk/ScrolledText.py	Wed Jul 11 17:10:46 2007
@@ -21,7 +21,7 @@
             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)


More information about the Python-3000-checkins mailing list