cleanup docstring, add actually used method to the ITree interface
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 10 Aug 2009 11:10:12 +0200
changeset 2747 4f9ffcd8d5a2
parent 2746 cfcc7f6121d6
child 2753 15a2d84e2802
cleanup docstring, add actually used method to the ITree interface
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 ####################################################