def dump_yaml(data, Dumper=_Dumper, default_flow_style=False):
    """Returns data as yaml-formatted string."""
    content = yaml.dump(data,
                        default_flow_style=default_flow_style,
                        Dumper=Dumper)
    return content.strip()
def dump_yaml ( data , Dumper = _Dumper , default_flow_style = False ) : content = yaml . dump ( data , default_flow_style = default_flow_style , Dumper = Dumper ) return content . strip ( )
Returns data as yaml-formatted string.