From 10438bc786dc6a381193025779cf86e072a1108a Mon Sep 17 00:00:00 2001 From: Anthon van der Neut Date: Mon, 26 Nov 2018 09:24:31 +0100 Subject: fix for issue with folds after (and before) spaces being emitted as BEL character instead of discarding --- nodes.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'nodes.py') 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, -- cgit v1.2.1