summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarti Raudsepp <marti@juffo.org>2013-04-03 16:49:48 +0300
committerMarti Raudsepp <marti@juffo.org>2013-04-03 16:49:48 +0300
commitbd9b324a99ec77026c3dd0f749e28c919fe5ee59 (patch)
treee254bc714e7a9ad6f1813cae8c455aadc32475fb
parentc8deaa9e7b8523f4231c354972bc0dc1e29cebe1 (diff)
Fix typo in transaction.Atomic docstring
-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 0aed0aa4f4..48e7f900dd 100644
--- a/django/db/transaction.py
+++ b/django/db/transaction.py
@@ -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.