lib/__builtins__/list.py | raw changeset files shortlog |
1.1 --- a/lib/__builtins__/list.py Wed Nov 23 15:17:29 2016 +0100 1.2 +++ b/lib/__builtins__/list.py Wed Nov 23 15:25:48 2016 +0100 1.3 @@ -112,12 +112,14 @@ 1.4 first = False 1.5 else: 1.6 b.append(", ") 1.7 - b.append(self.__get_single_item__(i)) 1.8 + b.append(repr(self.__get_single_item__(i))) 1.9 i += 1 1.10 b.append("]") 1.11 1.12 return str(b) 1.13 1.14 + __repr__ = __str__ 1.15 + 1.16 def __bool__(self): 1.17 1.18 "Lists are true if non-empty."