summaryrefslogtreecommitdiff
path: root/cyaml.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2016-07-06 23:31:57 +0200
committerAnthon van der Neut <anthon@mnt.org>2016-07-06 23:31:57 +0200
commita990e4568c7f341cc76f5ab572a3089bb1065da4 (patch)
tree437e9b9e007dddc73510e805a554e139a84bef50 /cyaml.py
parentbc5bd304c273b3c0067c2c8840efedd2bc4fc327 (diff)
downloadruamel.yaml-a990e4568c7f341cc76f5ab572a3089bb1065da4.tar.gz
added optional preservation of quotes around scalars
Diffstat (limited to 'cyaml.py')
-rw-r--r--cyaml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cyaml.py b/cyaml.py
index 11c5676..05dccd6 100644
--- a/cyaml.py
+++ b/cyaml.py
@@ -34,7 +34,7 @@ class CSafeLoader(CParser, SafeConstructor, Resolver):
class CLoader(CParser, Constructor, Resolver):
- def __init__(self, stream, version=None):
+ def __init__(self, stream, version=None, preserve_quotes=None):
CParser.__init__(self, stream)
Constructor.__init__(self)
Resolver.__init__(self)