Пример #1
0
 def __init__(self, stream, version=None, preserve_quotes=None):
     Reader.__init__(self, stream)
     Scanner.__init__(self)
     Parser.__init__(self)
     Composer.__init__(self)
     Constructor.__init__(self)
     Resolver.__init__(self)
Пример #2
0
 def __init__(self, stream, version=None, preserve_quotes=None):
     Reader.__init__(self, stream)
     Scanner.__init__(self)
     Parser.__init__(self)
     Composer.__init__(self)
     Constructor.__init__(self)
     Resolver.__init__(self)
Пример #3
0
 def __init__(self, stream, version=None, preserve_quotes=None):
     # type: (StreamTextType, Optional[VersionType], Optional[bool]) -> None
     Reader.__init__(self, stream, loader=self)
     Scanner.__init__(self, loader=self)
     Parser.__init__(self, loader=self)
     Composer.__init__(self, loader=self)
     Constructor.__init__(self, loader=self)
     VersionedResolver.__init__(self, version, loader=self)
Пример #4
0
 def __init__(self, stream, version=None, preserve_quotes=None):
     """Initialise loader."""
     del preserve_quotes
     del version
     Reader.__init__(self, stream, loader=self)
     Scanner.__init__(self, loader=self)
     Parser.__init__(self, loader=self)
     Composer.__init__(self, loader=self)
     MpfConstructor.__init__(self, loader=self)
     MpfResolver.__init__(self, loadumper=self)