server/session.py
changeset 9396 e83cbc116352
parent 9385 65ad67b0df22
parent 9351 cfd5d793ac89
child 9402 2c48c091b6a2
child 9411 6aec72169ee1
--- a/server/session.py	Thu Oct 24 13:15:53 2013 +0200
+++ b/server/session.py	Fri Jan 10 17:12:20 2014 +0100
@@ -711,6 +711,7 @@
     This is to be used by session"""
     def meth_from_tx(session, *args, **kwargs):
         return getattr(session._tx, meth_name)(*args, **kwargs)
+    meth_from_tx.__doc__ = getattr(Transaction, meth_name).__doc__
     return meth_from_tx
 
 
@@ -767,8 +768,8 @@
       used by another session as long as no writing is done. This means we can
       have multiple sessions with a reasonably low connections set pool size.
 
-    .. automethod:: cubicweb.server.session.set_cnxset
-    .. automethod:: cubicweb.server.session.free_cnxset
+      .. automethod:: cubicweb.server.session.Session.set_cnxset
+      .. automethod:: cubicweb.server.session.Session.free_cnxset
 
       :attr:`mode`, string telling the connections set handling mode, may be one
       of 'read' (connections set may be freed), 'write' (some write was done in