summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/db/transaction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/transaction.py b/django/db/transaction.py
index e392c13b32..412513b475 100644
--- a/django/db/transaction.py
+++ b/django/db/transaction.py
@@ -136,7 +136,7 @@ class Atomic(ContextDecorator):
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 `@oa` 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.