mirror of
https://github.com/django/django.git
synced 2024-11-29 22:56:46 +01:00
Merge pull request #985 from intgr/atomic_typo
Fixed typo in transaction.Atomic docstring
This commit is contained in:
commit
9191ce6643
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user