docs: tiny grammar fix "a" -> "one"

This commit is contained in:
0xTiger 2024-07-17 17:04:50 +01:00 committed by Daniele Varrazzo
parent f79867c9f2
commit 658afe4cd9

View File

@ -814,7 +814,7 @@ is rolled back.
When a cursor exits the ``with`` block it is closed, releasing any resource When a cursor exits the ``with`` block it is closed, releasing any resource
eventually associated with it. The state of the transaction is not affected. eventually associated with it. The state of the transaction is not affected.
A connection can be used in more than a ``with`` statement A connection can be used in more than one ``with`` statement
and each ``with`` block is effectively wrapped in a separate transaction:: and each ``with`` block is effectively wrapped in a separate transaction::
conn = psycopg2.connect(DSN) conn = psycopg2.connect(DSN)