diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-08-23 18:19:30 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-08-23 18:19:30 (GMT) |
commit | 280488b9a3b5cc213d01aae794751b89144f8609 (patch) | |
tree | b7f11d73232fe9cd918e2a37ad000adfc8162cd8 /Tools/idle | |
parent | fa8dd5f40781d8670824d8ec94e37e4f6e075135 (diff) | |
download | cpython-280488b9a3b5cc213d01aae794751b89144f8609.zip cpython-280488b9a3b5cc213d01aae794751b89144f8609.tar.gz cpython-280488b9a3b5cc213d01aae794751b89144f8609.tar.bz2 |
Whitespace normalization.
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 |