1. Matt Behrens
  2. pyyaml

Source

pyyaml / lib3 / yaml / loader.py

Kirill Simonov 197fb99 











Matt Behrens d4be47e 
Kirill Simonov 197fb99 








Matt Behrens d4be47e 
Kirill Simonov 197fb99 



Matt Behrens d4be47e 
Kirill Simonov 197fb99 



Matt Behrens d4be47e 
Kirill Simonov 197fb99 



Matt Behrens d4be47e 
Kirill Simonov 197fb99 

__all__ = ['BaseLoader', 'SafeLoader', 'Loader']

from .reader import *
from .scanner import *
from .parser import *
from .composer import *
from .constructor import *
from .resolver import *

class BaseLoader(Reader, Scanner, Parser, Composer, BaseConstructor, BaseResolver):

    def __init__(self, stream, tz_aware_datetimes=False):
        Reader.__init__(self, stream)
        Scanner.__init__(self)
        Parser.__init__(self)
        Composer.__init__(self)
        BaseConstructor.__init__(self)
        BaseResolver.__init__(self)

class SafeLoader(Reader, Scanner, Parser, Composer, SafeConstructor, Resolver):

    def __init__(self, stream, tz_aware_datetimes=False):
        Reader.__init__(self, stream)
        Scanner.__init__(self)
        Parser.__init__(self)
        Composer.__init__(self)
        SafeConstructor.__init__(self, tz_aware_datetimes)
        Resolver.__init__(self)

class Loader(Reader, Scanner, Parser, Composer, Constructor, Resolver):

    def __init__(self, stream, tz_aware_datetimes=False):
        Reader.__init__(self, stream)
        Scanner.__init__(self)
        Parser.__init__(self)
        Composer.__init__(self)
        Constructor.__init__(self, tz_aware_datetimes)
        Resolver.__init__(self)