code: 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)
docs: file_input: (NEWLINE | stmt)* ENDMARKER