def _stmt_list(self, stmts, indent=True):
        """return a list of nodes to string"""
        stmts = "\n".join(nstr for nstr in [n.accept(self) for n in stmts] if nstr)
        if indent:
            return self.indent + stmts.replace("\n", "\n" + self.indent)

        return stmts
def _stmt_list ( self , stmts , indent = True ) : stmts = "\n" . join ( nstr for nstr in [ n . accept ( self ) for n in stmts ] if nstr ) if indent : return self . indent + stmts . replace ( "\n" , "\n" + self . indent ) return stmts
return a list of nodes to string