Function construct_sequence

Synopsis

def construct_sequence(self, node, deep=False)

Description

No description yet.

Mentioned in

Source

Lines 124-131 in lib3/yaml/constructor.py.

def construct_sequence(self, node, deep=False):
    if not isinstance(node, SequenceNode):
        raise ConstructorError(None, None,
                "expected a sequence node, but found %s" % node.id,
                node.start_mark)
    return [self.construct_object(child, deep=deep)
            for child in node.value]





Add Discussion as Guest

Log in