parameters: (n, L)
return_statement: return list(zip(*[L[i::n] for i in range(n)]))
docstring: Group a flat list into a list of tuples of size n.
docstring_summary: Group a flat list into a list of tuples of size n.
docstring_tokens: Group a flat list into a list of tuples of size n .
function: def grouper(n, L):
      """Group a flat list into a list of tuples of size n."""
      # src: http://stackoverflow.com/questions/1624883/alternative-way-to-split-a-list-into-groups-of-n
      return list(zip(*[L[i::n] for i in range(n)]))
function_tokens: def grouper ( n , L ) : # src: http://stackoverflow.com/questions/1624883/alternative-way-to-split-a-list-into-groups-of-n return list ( zip ( * [ L [ i : : n ] for i in range ( n ) ] ) )