def file_input(parser, body):
        """file_input: (NEWLINE | stmt)* ENDMARKER"""
        body = reduce(list.__add__, body, [])
        loc = None
        if body != []:
            loc = body[0].loc
        return ast.Module(body=body, loc=loc)
def file_input(parser, body):
        """file_input: (NEWLINE | stmt)* ENDMARKER"""
        body = reduce(list.__add__, body, [])
        loc = None
        if body != []:
            loc = body[0].loc
        return ast.Module(body=body, loc=loc)
def file_input ( parser , body ) : body = reduce ( list . __add__ , body , [ ] ) loc = None if body != [ ] : loc = body [ 0 ] . loc return ast . Module ( body = body , loc = loc )
file_input: (NEWLINE | stmt)* ENDMARKER
file_input : ( NEWLINE | stmt ) * ENDMARKER