parameters: (n, iterable)
return_statement: return list(islice(iterable, n))
docstring: Return first *n* items of the iterable as a list.
  
          >>> take(3, range(10))
          [0, 1, 2]
  
      If there are fewer than *n* items in the iterable, all of them are
      returned.
  
          >>> take(10, range(3))
          [0, 1, 2]
docstring_summary: Return first *n* items of the iterable as a list.
docstring_tokens: Return first * n * items of the iterable as a list .
function: def take(n, iterable):
      """Return first *n* items of the iterable as a list.
  
          >>> take(3, range(10))
          [0, 1, 2]
  
      If there are fewer than *n* items in the iterable, all of them are
      returned.
  
          >>> take(10, range(3))
          [0, 1, 2]
  
      """
      return list(islice(iterable, n))
function_tokens: def take ( n , iterable ) : return list ( islice ( iterable , n ) )