parameters: (iterable, n=2)
return_statement: return chain.from_iterable(map(repeat, iterable, repeat(n)))
docstring: Repeat each element in *iterable* *n* times.
  
      >>> list(repeat_each('ABC', 3))
      ['A', 'A', 'A', 'B', 'B', 'B', 'C', 'C', 'C']
docstring_summary: Repeat each element in *iterable* *n* times.
docstring_tokens: Repeat each element in * iterable * * n * times .
function: def repeat_each(iterable, n=2):
      """Repeat each element in *iterable* *n* times.
  
      >>> list(repeat_each('ABC', 3))
      ['A', 'A', 'A', 'B', 'B', 'B', 'C', 'C', 'C']
      """
      return chain.from_iterable(map(repeat, iterable, repeat(n)))
function_tokens: def repeat_each ( iterable , n = 2 ) : return chain . from_iterable ( map ( repeat , iterable , repeat ( n ) ) )