diff options
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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): """ |