Added documentation for putconn's close parameter

This commit is contained in:
Daniele Varrazzo 2011-06-30 16:40:35 +01:00
parent 4fd5f3267b
commit 11ff27b5af

View File

@ -26,10 +26,12 @@ directly into the client application.
Get a free connection and assign it to *key* if not `!None`. Get a free connection and assign it to *key* if not `!None`.
.. method:: putconn(conn, key=None) .. method:: putconn(conn, key=None, close=False)
Put away a connection. Put away a connection.
If *close* is `!True`, discard the connection from the pool.
.. method:: closeall .. method:: closeall
Close all the connections handled by the pool. Close all the connections handled by the pool.