diff options
author | Just van Rossum <just@letterror.com> | 2001-06-19 21:37:33 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2001-06-19 21:37:33 (GMT) |
commit | dc3c617cb884d9f12d55c2247f3e6b1b1f55aa36 (patch) | |
tree | d88d2e9f7f538b58275226944640554f4a46bee5 /Mac/Tools/IDE/PyBrowser.py | |
parent | 9020bcebc875463f1acec1b14949db35e1e68ad6 (diff) | |
download | cpython-dc3c617cb884d9f12d55c2247f3e6b1b1f55aa36.zip cpython-dc3c617cb884d9f12d55c2247f3e6b1b1f55aa36.tar.gz cpython-dc3c617cb884d9f12d55c2247f3e6b1b1f55aa36.tar.bz2 |
Some long overdue maintainance. Made all IDE sources 7-bit-clean, to avoid any further encoding conversion troubles.
Diffstat (limited to 'Mac/Tools/IDE/PyBrowser.py')
-rw-r--r-- | Mac/Tools/IDE/PyBrowser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Tools/IDE/PyBrowser.py b/Mac/Tools/IDE/PyBrowser.py index e8aac83..19319a1 100644 --- a/Mac/Tools/IDE/PyBrowser.py +++ b/Mac/Tools/IDE/PyBrowser.py @@ -38,7 +38,7 @@ def double_repr(key, value, truncvalue = 0, value = _repr(value) '' + value # test to see if it is a string, in case a __repr__ method is buggy except: - value = '‚‚‚ exception in repr()' + value = '\xa5\xa5\xa5 exception in repr()' if truncvalue: return key + '\t' + value[:255] return key + '\t' + value @@ -360,7 +360,7 @@ INDEXING_TYPES = ( def unpack_object(object, indent = 0): tp = type(object) if tp in SIMPLE_TYPES and tp is not types.NoneType: - raise TypeError, 'canŐt browse simple type: %s' % tp.__name__ + raise TypeError, "can't browse simple type: %s" % tp.__name__ elif tp == types.DictionaryType: return unpack_dict(object, indent) elif tp in (types.TupleType, types.ListType): |