Skip to content

Commit 5d55c25

Browse files
committed
Fix typo ind docs, comitted -> committed
1 parent 5477e7a commit 5d55c25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/locking.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Locking
77

88
`Explicit table-level locks`_ are supported through the :meth:`psqlextra.locking.postgres_lock_model` and :meth:`psqlextra.locking.postgres_lock_table` methods. All table-level lock methods are supported.
99

10-
Locks are always bound to the current transaction and are released when the transaction is comitted or rolled back. There is no support (in PostgreSQL) for explicitly releasing a lock.
10+
Locks are always bound to the current transaction and are released when the transaction is committed or rolled back. There is no support (in PostgreSQL) for explicitly releasing a lock.
1111

1212
.. warning::
1313

@@ -31,7 +31,7 @@ Use :class:`psqlextra.locking.PostgresTableLockMode` to indicate the type of loc
3131
with transaction.atomic(durable=True):
3232
postgres_lock_model(MyModel, PostgresTableLockMode.EXCLUSIVE)
3333
34-
# locks are released here, when the transaction comitted
34+
# locks are released here, when the transaction committed
3535
3636
3737
Locking a table
@@ -53,4 +53,4 @@ Use :meth:`psqlextra.locking.postgres_lock_table` to lock arbitrary tables in ar
5353
schema_name="myschema"
5454
)
5555
56-
# locks are released here, when the transaction comitted
56+
# locks are released here, when the transaction committed

0 commit comments

Comments
 (0)