def __init__(self, *args, **kwargs): Loader.__init__(self, *args, **kwargs) self.add_constructor(u"tag:yaml.org,2002:map", type(self).construct_yaml_map) self.add_constructor(u"tag:yaml.org,2002:omap", type(self).construct_yaml_map)
def __init__(self, *args, **kwargs): Loader.__init__(self, *args, **kwargs)