re-checkin with "ISO-8859 translation" turned on.

This commit is contained in:
Just van Rossum 1999-02-02 22:31:05 +00:00
parent b8bf163dde
commit edab93939e
12 changed files with 58 additions and 58 deletions

View file

@ -36,7 +36,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 = '€€€ exception in repr()'
if truncvalue:
return key + '\t' + value[:255]
return key + '\t' + value
@ -358,7 +358,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):