human
Can you provide a the Python program you requested given the following:
Complete the below
def _AllowBuilderStyleCalls(node):

    ''''Allow splitting before \'.\' if it\'s a builder style function call.'
    '''
assistant
#Here is the Python program you requested.
    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