diff options
Diffstat (limited to 'Tools/idle')
-rw-r--r-- | Tools/idle/CallTips.py | 2 | ||||
-rw-r--r-- | Tools/idle/IOBinding.py | 2 | ||||
-rw-r--r-- | Tools/idle/ScriptBinding.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Tools/idle/CallTips.py b/Tools/idle/CallTips.py index 412a2e6..dc25083 100644 --- a/Tools/idle/CallTips.py +++ b/Tools/idle/CallTips.py @@ -79,7 +79,7 @@ class CallTips: wordchars="._" + string.ascii_letters + string.digits): # Usage of ascii_letters is necessary to avoid UnicodeErrors # if chars contains non-ASCII. - + # XXX - This needs to be moved to a better place # so the "." attribute lookup code can also use it. text = self.text diff --git a/Tools/idle/IOBinding.py b/Tools/idle/IOBinding.py index d80e53c..fd8aaf6 100644 --- a/Tools/idle/IOBinding.py +++ b/Tools/idle/IOBinding.py @@ -209,7 +209,7 @@ class IOBinding: "installation. The file may not display correctly" % name, master = self.text) enc = None - + if enc: try: return unicode(chars, enc) diff --git a/Tools/idle/ScriptBinding.py b/Tools/idle/ScriptBinding.py index 19a20b2..3e1279c 100644 --- a/Tools/idle/ScriptBinding.py +++ b/Tools/idle/ScriptBinding.py @@ -53,7 +53,7 @@ class ScriptBinding: def __init__(self, editwin): if not editwin.runnable: self.menudefs = [] - self.keydefs = {} + self.keydefs = {} self.editwin = editwin # Provide instance variables referenced by Debugger # XXX This should be done differently |