backport stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 17 Jan 2012 11:55:32 +0100
changeset 8172 77aa753dcd6b
parent 8171 6dececcaf454 (current diff)
parent 8166 20809488fe56 (diff)
child 8179 e52a084e955c
backport stable
schema.py
--- 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):