def construct_yaml_seq(self, node): """ Return a node class representing a line-marked sequence. """ obj, = SafeConstructor.construct_yaml_seq(self, node) return ListNode(obj, node.start_mark, node.end_mark)
def construct_yaml_seq(self, node): obj, = SafeConstructor.construct_yaml_seq(self, node) return list_node(obj, node.start_mark, node.end_mark)
def construct_yaml_seq(self, node): obj, = SafeConstructor.construct_yaml_seq(self, node) assert isinstance(obj, list) # nosec return ListNode(obj, node.start_mark, node.end_mark) # nosec
def construct_yaml_seq(self, node): (obj, ) = SafeConstructor.construct_yaml_seq(self, node) return list_node(obj, node.start_mark, node.end_mark)
def construct_yaml_seq(self, node): obj, = SafeConstructor.construct_yaml_seq(self, node) return self._holder(obj, node)
def construct_yaml_seq(self, node): obj, = SafeConstructor.construct_yaml_seq(self, node) return list_node(obj, node_info=node)