Commits

Sergey Astanin committed 597e189

minor README changes

Comments (0)

Files changed (1)

     >>> map(list, partition(odd, range(5)))
     [[1, 3], [0, 2, 4]]
 
-To break a sequence into chunks on some separator elements:
+To break a sequence into chunks on some separator elements, use `split`:
 
     >>> list(split(0, [1,2,3,0,4,5,0,0,6]))
     [[1, 2, 3], [4, 5], [], [6]]
+
+All functions return iterators.