parameters: (data, stream=None, **kwds)
return_statement: return dump_all([data], stream, Dumper=SafeDumper, **kwds)
docstring: Serialize a Python object into a YAML stream.
      Produce only basic YAML tags.
      If stream is None, return the produced string instead.
docstring_summary: Serialize a Python object into a YAML stream.
      Produce only basic YAML tags.
      If stream is None, return the produced string instead.
docstring_tokens: Serialize a Python object into a YAML stream . Produce only basic YAML tags . If stream is None return the produced string instead .
function: def safe_dump(data, stream=None, **kwds):
      """
      Serialize a Python object into a YAML stream.
      Produce only basic YAML tags.
      If stream is None, return the produced string instead.
      """
      return dump_all([data], stream, Dumper=SafeDumper, **kwds)
function_tokens: def safe_dump ( data , stream = None , * * kwds ) : return dump_all ( [ data ] , stream , Dumper = SafeDumper , * * kwds )