parent
0f96be372d
commit
cb5bd868d9
|
@ -165,10 +165,8 @@ class _Stop(Exception):
|
||||||
|
|
||||||
class Unserializer(object):
|
class Unserializer(object):
|
||||||
|
|
||||||
def __init__(self, stream, options=None):
|
def __init__(self, stream, options=UnserializationOptions()):
|
||||||
self.stream = stream
|
self.stream = stream
|
||||||
if options is None:
|
|
||||||
options = UnserializationOptions()
|
|
||||||
self.options = options
|
self.options = options
|
||||||
|
|
||||||
def load(self):
|
def load(self):
|
||||||
|
|
Loading…
Reference in New Issue