self._dispatch(data)
def __iter__(self):
return iter(self.tolist())
def __len__(self):
if self._list_data is not None and isinstance(self._list_data, slice):
slc = self._list_data
After Change
self._dispatch(data)
def __iter__(self):
for i in self.tolist():
yield int(i)
def __len__(self):
if self._list_data is not None and isinstance(self._list_data, slice):
slc = self._list_data
if slc.step is None: