0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Fix typo in transaction.Atomic docstring

This commit is contained in:
Marti Raudsepp 2013-04-03 16:49:48 +03:00
parent c8deaa9e7b
commit bd9b324a99

View File

@ -196,7 +196,7 @@ class Atomic(object):
connection. None denotes the absence of a savepoint.
This allows reentrancy even if the same AtomicWrapper is reused. For
example, it's possible to define `oa = @atomic('other')` and use `@ao` or
example, it's possible to define `oa = @atomic('other')` and use `@oa` or
`with oa:` multiple times.
Since database connections are thread-local, this is thread-safe.