diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-11-26 09:24:31 +0100 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-11-26 09:24:31 +0100 |
commit | 10438bc786dc6a381193025779cf86e072a1108a (patch) | |
tree | 19880df160235f35b4e3443509a77e84bd560870 /nodes.py | |
parent | fa720ebff5f3ee49cb70d3741d07e1f3fd957a62 (diff) | |
download | ruamel.yaml-10438bc786dc6a381193025779cf86e072a1108a.tar.gz |
fix for issue with folds after (and before) spaces being emitted as BEL character instead of discarding0.15.80
Diffstat (limited to 'nodes.py')
-rw-r--r-- | nodes.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -78,15 +78,16 @@ class ScalarNode(Node): __slots__ = ('style',) id = 'scalar' - def __init__(self, tag, value, start_mark=None, end_mark=None, style=None, comment=None, - anchor=None): + def __init__( + self, tag, value, start_mark=None, end_mark=None, style=None, comment=None, anchor=None + ): # type: (Any, Any, Any, Any, Any, Any, Any) -> None Node.__init__(self, tag, value, start_mark, end_mark, comment=comment, anchor=anchor) self.style = style class CollectionNode(Node): - __slots__ = ('flow_style', ) + __slots__ = ('flow_style',) def __init__( self, |