# HG changeset patch # User Sylvain Thénault # Date 1249895412 -7200 # Node ID 4f9ffcd8d5a2ce58c0cda1faba760d4f2ed27604 # Parent cfcc7f6121d6c6b53a1ef9bc96c3b7c82f33d169 cleanup docstring, add actually used method to the ITree interface diff -r cfcc7f6121d6 -r 4f9ffcd8d5a2 interfaces.py --- a/interfaces.py Fri Aug 07 17:51:16 2009 +0200 +++ b/interfaces.py Mon Aug 10 11:10:12 2009 +0200 @@ -127,6 +127,9 @@ def children(self): """returns the item's children""" + def children_rql(self): + """XXX returns RQL to get children""" + def __iter__(self): """iterates over the item's children""" @@ -137,7 +140,7 @@ """returns true if this node has no parent""" def root(self): - """return the root object""" + """returns the root object""" ## web specific interfaces ####################################################