parameters: (context_manager)
docstring: Wrap an iterable in a ``with`` statement, so it closes once exhausted.
  
      For example, this will close the file when the iterator is exhausted::
  
          upper_lines = (line.upper() for line in with_iter(open('foo')))
  
      Any context manager which returns an iterable is a candidate for
      ``with_iter``.
docstring_summary: Wrap an iterable in a ``with`` statement, so it closes once exhausted.
docstring_tokens: Wrap an iterable in a with statement so it closes once exhausted .
function: def with_iter(context_manager):
      """Wrap an iterable in a ``with`` statement, so it closes once exhausted.
  
      For example, this will close the file when the iterator is exhausted::
  
          upper_lines = (line.upper() for line in with_iter(open('foo')))
  
      Any context manager which returns an iterable is a candidate for
      ``with_iter``.
  
      """
      with context_manager as iterable:
          yield from iterable
function_tokens: def with_iter ( context_manager ) : with context_manager as iterable : yield from iterable