# HG changeset patch # User Sylvain Thénault # Date 1295535118 -3600 # Node ID ace0b991e17b9c59942a4f0468688ac3ee8c9069 # Parent 393300fc3fdd989bb015bdf3b8a852af67e12575 [entity] fix some docstrings diff -r 393300fc3fdd -r ace0b991e17b rset.py --- a/rset.py Thu Jan 20 19:18:11 2011 +0100 +++ b/rset.py Thu Jan 20 15:51:58 2011 +0100 @@ -414,9 +414,9 @@ .. warning:: - Due to the cache wrapping this function, you should NEVER - give row as a named parameter (i.e. rset.get_entity(req, 0) - is OK but rset.get_entity(row=0, req=req) isn't) + Due to the cache wrapping this function, you should NEVER give row as + a named parameter (i.e. `rset.get_entity(0, 1)` is OK but + `rset.get_entity(row=0, col=1)` isn't) :type row,col: int, int :param row,col: @@ -434,11 +434,11 @@ return self._build_entity(row, col) def _build_entity(self, row, col): - """internal method to get a single entity, returns a - partially initialized Entity instance. + """internal method to get a single entity, returns a partially + initialized Entity instance. - partially means that only attributes selected in the RQL - query will be directly assigned to the entity. + partially means that only attributes selected in the RQL query will be + directly assigned to the entity. :type row,col: int, int :param row,col: