summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2016-02-29 15:32:26 +0100
committerAnthon van der Neut <anthon@mnt.org>2016-02-29 15:32:26 +0100
commitbcc0b94b3fce833f53d59252d9e33dc063f35fcc (patch)
treeb15a32c29400e410df8a527f4bcdcd6521222924 /main.py
parent88eb85135b4d03e8aef7f24e0c1e148178a215ff (diff)
downloadruamel.yaml-bcc0b94b3fce833f53d59252d9e33dc063f35fcc.tar.gz
documentation now on read-the-docs0.11.5
Diffstat (limited to 'main.py')
-rw-r--r--main.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/main.py b/main.py
index 389fb02..48f8020 100644
--- a/main.py
+++ b/main.py
@@ -267,12 +267,13 @@ def safe_dump(data, stream=None, **kwds):
"""
return dump_all([data], stream, Dumper=SafeDumper, **kwds)
+
def round_trip_dump(data, stream=None, Dumper=RoundTripDumper,
- default_style=None, default_flow_style=None,
- canonical=None, indent=None, width=None,
- allow_unicode=None, line_break=None,
- encoding=enc, explicit_start=None, explicit_end=None,
- version=None, tags=None, block_seq_indent=None):
+ default_style=None, default_flow_style=None,
+ canonical=None, indent=None, width=None,
+ allow_unicode=None, line_break=None,
+ encoding=enc, explicit_start=None, explicit_end=None,
+ version=None, tags=None, block_seq_indent=None):
allow_unicode = True if allow_unicode is None else allow_unicode
return dump_all([data], stream, Dumper=Dumper,
default_style=default_style,
@@ -285,6 +286,7 @@ def round_trip_dump(data, stream=None, Dumper=RoundTripDumper,
explicit_end=explicit_end,
version=version, tags=tags, block_seq_indent=block_seq_indent)
+
def add_implicit_resolver(tag, regexp, first=None,
Loader=Loader, Dumper=Dumper):
"""