diff -r cb6ece9cdb78 -r 83872394b5d9 rset.py --- a/rset.py Wed Jun 29 16:29:15 2011 +0200 +++ b/rset.py Fri Jul 01 11:51:04 2011 +0200 @@ -529,17 +529,15 @@ @cached def syntax_tree(self): - """get the syntax tree for the source query. - - :rtype: rql.stmts.Statement - :return: the RQL syntax tree of the originating query + """return the syntax tree (:class:`rql.stmts.Union`) for the originating + query. You can expect it to have solutions computed but it won't be + annotated (you usually don't need that for simple introspection). """ if self._rqlst: rqlst = self._rqlst.copy() # to avoid transport overhead when pyro is used, the schema has been # unset from the syntax tree rqlst.schema = self.req.vreg.schema - self.req.vreg.rqlhelper.annotate(rqlst) else: rqlst = self.req.vreg.parse(self.req, self.rql, self.args) return rqlst