(node, stream=None, Dumper=Dumper, **kwds)
return serialize_all([node], stream, Dumper=Dumper, **kwds)
Serialize a representation tree into a YAML stream.
    If stream is None, return the produced string instead.
Serialize a representation tree into a YAML stream.
    If stream is None, return the produced string instead.
Serialize a representation tree into a YAML stream . If stream is None return the produced string instead .
def serialize(node, stream=None, Dumper=Dumper, **kwds):
    # type: (Any, Optional[StreamType], Any, Any) -> Any
    """
    Serialize a representation tree into a YAML stream.
    If stream is None, return the produced string instead.
    """
    return serialize_all([node], stream, Dumper=Dumper, **kwds)
def serialize ( node , stream = None , Dumper = Dumper , * * kwds ) : # type: (Any, Optional[StreamType], Any, Any) -> Any return serialize_all ( [ node ] , stream , Dumper = Dumper , * * kwds )