# HG changeset patch # User Anthony Truchet # Date 1326369899 -3600 # Node ID e53c003e3d37fa989aa4ba60822a1ab845259a83 # Parent 098c83a998076809e47eeb63ad6242c33ac81451 [doc] Add a small docstring to RQLExpression constructor diff -r 098c83a99807 -r e53c003e3d37 schema.py --- 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):