(self, text, debug=False)
return self.parse_tokens(tokens, debug)
Parse a string and return the syntax tree.
Parse a string and return the syntax tree.
Parse a string and return the syntax tree .
def parse_string(self, text, debug=False):
        """Parse a string and return the syntax tree."""
        tokens = tokenize.generate_tokens(io.StringIO(text).readline)
        return self.parse_tokens(tokens, debug)
def parse_string ( self , text , debug = False ) : tokens = tokenize . generate_tokens ( io . StringIO ( text ) . readline ) return self . parse_tokens ( tokens , debug )