def single_line_stmt(s): """parse single-line statements""" return AST.Stmt_List([s[0]])
def multi_line_stmt(s): """parse multi-line statements""" # append the statement to the statements list return AST.Stmt_List(s[0].get_stmt_list() + [s[1]])