Warning! The version you're viewing is not the latest. Go to the latest version
def construct_sequence(self, node, deep=False)
No description yet.
- Documentation / Loader
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]