schema.py
branchstable
changeset 8160 e53c003e3d37
parent 8027 9ac82788f67b
child 8172 77aa753dcd6b
child 8256 852c73392b00
--- a/schema.py	Wed Jan 11 18:28:17 2012 +0100
+++ b/schema.py	Thu Jan 12 13:04:59 2012 +0100
@@ -666,6 +666,12 @@
     full_rql = None
 
     def __init__(self, expression, mainvars, eid):
+        """
+        :type mainvars: sequence of RQL variables' names. Can be provided as a 
+                        comma separated string.
+        :param mainvars: names of the variables being selected.
+
+        """
         self.eid = eid # eid of the entity representing this rql expression
         assert mainvars, 'bad mainvars %s' % mainvars
         if isinstance(mainvars, basestring):