From 7cb754fbc9d34d64834a044ab030bdf0805feaab Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Wed, 15 Aug 2012 12:25:35 +0100 Subject: [PATCH] Fixed smell of pizza in the docs --- doc/src/usage.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/usage.rst b/doc/src/usage.rst index 6abaf51b..a38a8442 100644 --- a/doc/src/usage.rst +++ b/doc/src/usage.rst @@ -516,8 +516,8 @@ issued by all the cursors created by the same connection. Should any command fail, the transaction will be aborted and no further command will be executed until a call to the `~connection.rollback()` method. -The connection is responsible to terminate its transaction, calling either the -`~connection.commit()` or `~connection.rollback()` method. Committed +The connection is responsible for terminating its transaction, calling either +the `~connection.commit()` or `~connection.rollback()` method. Committed changes are immediately made persistent into the database. Closing the connection using the `~connection.close()` method or destroying the connection object (using `!del` or letting it fall out of scope)