mirror of
https://github.com/Hopiu/django.git
synced 2026-04-30 03:34:45 +00:00
Fix typo in transaction.Atomic docstring
This commit is contained in:
parent
c8deaa9e7b
commit
bd9b324a99
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue