schema.py
changeset 8172 77aa753dcd6b
parent 8125 7070250bf50d
parent 8160 e53c003e3d37
child 8190 2a3c1b787688
--- a/schema.py	Tue Jan 17 11:49:23 2012 +0100
+++ b/schema.py	Tue Jan 17 11:55:32 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):