human
Complete this python program:
def _AllowBuilderStyleCalls(node):
assistant
#Here is the Python code you requested.

    """Allow splitting before \.\ if it\s a builder style function call.
    """
    def RecGetLeaves(node):
        if isinstance(node, pytree.Leaf):
            return [node]
        children = []
        for child in node.children:
            children += RecGetLeaves(child)
        return children
    list_of_children = RecGetLeaves(node)
    prev_child = None
    for child in list_of_children:
        if (child.value == '.'):
            if (prev_child.lineno != child.lineno):
                _SetSplitPenalty(child, 0)
        prev_child = child