1. Sergey Astanin
  2. python-split

Commits

Sergey Astanin  committed 597e189

minor README changes

  • Participants
  • Parent commits efb876f
  • Branches default

Comments (0)

Files changed (1)

File README

View file
  • Ignore whitespace
     >>> 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.