[entity] fix some docstrings stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 20 Jan 2011 15:51:58 +0100
branchstable
changeset 6859 ace0b991e17b
parent 6858 393300fc3fdd
child 6860 a0dbf6135c72
[entity] fix some docstrings
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: