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