def sub_list(self, from_index, to_index):
return self._encode_invoke(list_sub_codec, from_=from_index, to=to_index)<EOL>
Returns a sublist from this list, whose range is specified with from_index(inclusive) and to_index(exclusive).
The returned list is backed by this list, so non-structural changes in the returned list are reflected in this
list, and vice-versa.

:param from_index: (int), the start point(inclusive) of the sub_list.
:param to_index: (int), th end point(exclusive) of the sub_list.
:return: (Sequence), a view of the specified range within this list.