diff options
author | Anthon van der Neut <anthon@mnt.org> | 2019-08-15 22:37:48 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2019-08-15 22:37:48 +0200 |
commit | 909171f93bbad505d35f2856e0105f173858ea5f (patch) | |
tree | 2f60cc5be35af933c2c3267694e0a712cf29578b /scalarstring.py | |
parent | 1c628953c71f2e2f0cd01d643ca239e23c2e15cc (diff) | |
download | ruamel.yaml-909171f93bbad505d35f2856e0105f173858ea5f.tar.gz |
mypy, split contruct_object0.16.3
fixes issue #306
*When this change indeed resolves your problem, please **Close** this issue*.
*(You can do so using the WorkFlow pull-down (close to the top right of this page))*
Diffstat (limited to 'scalarstring.py')
-rw-r--r-- | scalarstring.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scalarstring.py b/scalarstring.py index bf3cbab..8427323 100644 --- a/scalarstring.py +++ b/scalarstring.py @@ -129,7 +129,8 @@ def walk_tree(base, map=None): map[':'] = SingleQuotedScalarString walk_tree(data, map=map) """ - from ruamel.yaml.compat import string_types, MutableMapping, MutableSequence + from ruamel.yaml.compat import string_types + from ruamel.yaml.compat import MutableMapping, MutableSequence # type: ignore if map is None: map = {'\n': preserve_literal} |