mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-10 19:16:34 +03:00
docs: tiny grammar fix "a" -> "one"
This commit is contained in:
parent
f79867c9f2
commit
658afe4cd9
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user