Function get_single_data

Synopsis

def get_single_data(self)

Description

No description yet.

Source

Lines 47-53 in lib3/yaml/constructor.py.

def get_single_data(self):
    # Ensure that the stream contains a single document and construct it.
    node = self.get_single_node()
    if node is not None:
        return self.construct_document(node)
    return None





Add Discussion as Guest

Log in