From ab28d38e95b2ae8871c1f68ff3a690cf360ce60a Mon Sep 17 00:00:00 2001 From: Anthon van der Neut Date: Thu, 9 Aug 2018 08:34:41 +0200 Subject: fix issue #196 loosing items on cast to dict *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so usingthe WorkFlow pull-down (close to the top right of this page)* --- scalarstring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scalarstring.py') diff --git a/scalarstring.py b/scalarstring.py index ef283d2..822ae83 100644 --- a/scalarstring.py +++ b/scalarstring.py @@ -28,7 +28,7 @@ class ScalarString(text_type): class PreservedScalarString(ScalarString): - __slots__ = ('comment') # the comment after the | on the first line + __slots__ = 'comment' # the comment after the | on the first line style = '|' -- cgit v1.2.1