summaryrefslogtreecommitdiff
path: root/loader.py
diff options
context:
space:
mode:
Diffstat (limited to 'loader.py')
-rw-r--r--loader.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/loader.py b/loader.py
index e0a53bb..b5ba20a 100644
--- a/loader.py
+++ b/loader.py
@@ -21,7 +21,7 @@ except (ImportError, ValueError): # for Jython
class BaseLoader(Reader, Scanner, Parser, Composer, BaseConstructor, BaseResolver):
- def __init__(self, stream, version=None):
+ def __init__(self, stream, version=None, preserve_quotes=None):
Reader.__init__(self, stream)
Scanner.__init__(self)
Parser.__init__(self)
@@ -31,7 +31,7 @@ class BaseLoader(Reader, Scanner, Parser, Composer, BaseConstructor, BaseResolve
class SafeLoader(Reader, Scanner, Parser, Composer, SafeConstructor, Resolver):
- def __init__(self, stream, version=None):
+ def __init__(self, stream, version=None, preserve_quotes=None):
Reader.__init__(self, stream)
Scanner.__init__(self)
Parser.__init__(self)
@@ -41,7 +41,7 @@ class SafeLoader(Reader, Scanner, Parser, Composer, SafeConstructor, Resolver):
class Loader(Reader, Scanner, Parser, Composer, Constructor, Resolver):
- def __init__(self, stream, version=None):
+ def __init__(self, stream, version=None, preserve_quotes=None):
Reader.__init__(self, stream)
Scanner.__init__(self)
Parser.__init__(self)