Skip to content

Commit

Permalink
Remove debug assertion.
Browse files Browse the repository at this point in the history
  • Loading branch information
c0fec0de committed Apr 27, 2017
1 parent fa1314c commit 3030ca6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion defaultlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ def __getslice(self, start, stop, step):
start = self.__normidx(start, 0)
stop = self.__normidx(stop, len(self))
step = step or 1
assert len(self) >= stop
r = defaultlist(factory=self.__factory)
for idx in range(start, stop, step):
r.append(list.__getitem__(self, idx))
Expand Down

0 comments on commit 3030ca6

Please sign in to comment.