summaryrefslogtreecommitdiff
path: root/nodes.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-11-26 09:24:31 +0100
committerAnthon van der Neut <anthon@mnt.org>2018-11-26 09:24:31 +0100
commit10438bc786dc6a381193025779cf86e072a1108a (patch)
tree19880df160235f35b4e3443509a77e84bd560870 /nodes.py
parentfa720ebff5f3ee49cb70d3741d07e1f3fd957a62 (diff)
downloadruamel.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.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/nodes.py b/nodes.py
index d99e909..da86e9c 100644
--- a/nodes.py
+++ b/nodes.py
@@ -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,