diff options
author | Anthon van der Neut <anthon@mnt.org> | 2020-09-04 16:24:53 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2020-09-04 16:24:53 +0200 |
commit | 82b1c1cca63b6d94e28db6f1625be59efbe93c6f (patch) | |
tree | 806cf30644a4bb076ef009f6dca056fbf5a54d27 /representer.py | |
parent | e75425c94b63f376e0de91d28bc382fab6700749 (diff) | |
download | ruamel.yaml-82b1c1cca63b6d94e28db6f1625be59efbe93c6f.tar.gz |
update links in doc0.16.12
Diffstat (limited to 'representer.py')
-rw-r--r-- | representer.py | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/representer.py b/representer.py index f0ad89f..1b5185a 100644 --- a/representer.py +++ b/representer.py @@ -15,6 +15,17 @@ from ruamel.yaml.scalarstring import ( DoubleQuotedScalarString, PlainScalarString, ) +from ruamel.yaml.comments import ( + CommentedMap, + CommentedOrderedMap, + CommentedSeq, + CommentedKeySeq, + CommentedKeyMap, + CommentedSet, + comment_attrib, + merge_attrib, + TaggedScalar, +) from ruamel.yaml.scalarint import ScalarInt, BinaryInt, OctalInt, HexInt, HexCapsInt from ruamel.yaml.scalarfloat import ScalarFloat from ruamel.yaml.scalarbool import ScalarBoolean @@ -644,18 +655,6 @@ Representer.add_multi_representer(object, Representer.represent_object) Representer.add_multi_representer(type, Representer.represent_name) -from ruamel.yaml.comments import ( - CommentedMap, - CommentedOrderedMap, - CommentedSeq, - CommentedKeySeq, - CommentedKeyMap, - CommentedSet, - comment_attrib, - merge_attrib, - TaggedScalar, -) # NOQA - class RoundTripRepresenter(SafeRepresenter): # need to add type here and write out the .comment |