Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions leads/data_persistence.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from copy import copy as _copy
from operator import add as _add, sub as _sub, mul as _mul, truediv as _truediv, floordiv as _floordiv, lt as _lt, \
le as _le, gt as _gt, ge as _ge
from typing import TextIO as _TextIO, TypeVar as _TypeVar, Generic as _Generic, Sequence as _Sequence, \
Expand Down Expand Up @@ -62,7 +61,7 @@ def __str__(self) -> str:
return str(self._data)

def to_list(self) -> list[T]:
return _copy(self._data)
return self._data.copy()

def _push_to_data(self, element: T) -> None:
self._data.append(element)
Expand Down