parameters: (stream, Loader=Loader)
docstring: Parse a YAML stream and produce parsing events.
docstring_summary: Parse a YAML stream and produce parsing events.
docstring_tokens: Parse a YAML stream and produce parsing events .
function: def parse(stream, Loader=Loader):
      """
      Parse a YAML stream and produce parsing events.
      """
      loader = Loader(stream)
      try:
          while loader.check_event():
              yield loader.get_event()
      finally:
          loader.dispose()
function_tokens: def parse ( stream , Loader = Loader ) : loader = Loader ( stream ) try : while loader . check_event ( ) : yield loader . get_event ( ) finally : loader . dispose ( )