Skip to content

Fix tail(n, seq) returning whole sequence for n <= 0#627

Open
Sanjays2402 wants to merge 2 commits into
pytoolz:masterfrom
Sanjays2402:fix/tail-nonpositive-n
Open

Fix tail(n, seq) returning whole sequence for n <= 0#627
Sanjays2402 wants to merge 2 commits into
pytoolz:masterfrom
Sanjays2402:fix/tail-nonpositive-n

Address review: raise on negative n, drop per-call zero special-case

ae58ef2
Select commit
Loading
Failed to load commit list.