1.1 --- a/lib/__builtins__/tuple.py Fri Dec 02 21:16:06 2016 +0100
1.2 +++ b/lib/__builtins__/tuple.py Fri Dec 02 22:26:53 2016 +0100
1.3 @@ -36,14 +36,14 @@
1.4
1.5 size = args is not None and len(args) or 0
1.6 self.__data__ = native._list_init(size)
1.7 - native._list_setsize(self, size)
1.8 + native._list_setsize(self.__data__, size)
1.9
1.10 # Populate the tuple.
1.11
1.12 if args is not None:
1.13 i = 0
1.14 for arg in args:
1.15 - native._list_setelement(self, i, arg)
1.16 + native._list_setelement(self.__data__, i, arg)
1.17 i += 1
1.18
1.19 def __getslice__(self, start, end=None):
1.20 @@ -56,7 +56,7 @@
1.21
1.22 "Return the length of the tuple."
1.23
1.24 - return native._list_len(self)
1.25 + return native._list_len(self.__data__)
1.26
1.27 def __add__(self, other): pass
1.28
1.29 @@ -87,7 +87,7 @@
1.30 "Return the item at the normalised (positive) 'index'."
1.31
1.32 self._check_index(index)
1.33 - return native._list_element(self, index)
1.34 + return native._list_element(self.__data__, index)
1.35
1.36 def __set_single_item__(self, index, value):
1.37