summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
Diffstat (limited to 'django')
-rw-r--r--django/core/files/locks.py4
-rw-r--r--django/utils/feedgenerator.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/django/core/files/locks.py b/django/core/files/locks.py
index e6fec4d78a..d1384329dc 100644
--- a/django/core/files/locks.py
+++ b/django/core/files/locks.py
@@ -10,8 +10,8 @@ Example Usage::
>>> from django.core.files import locks
>>> with open('./file', 'wb') as f:
- >>> locks.lock(f, locks.LOCK_EX)
- >>> f.write('Django')
+ ... locks.lock(f, locks.LOCK_EX)
+ ... f.write('Django')
"""
__all__ = ('LOCK_EX','LOCK_SH','LOCK_NB','lock','unlock')
diff --git a/django/utils/feedgenerator.py b/django/utils/feedgenerator.py
index f4c7318f10..7fa385ebc3 100644
--- a/django/utils/feedgenerator.py
+++ b/django/utils/feedgenerator.py
@@ -16,7 +16,7 @@ Sample usage:
... description="Testing."
... )
>>> with open('test.rss', 'w') as fp:
->>> feed.write(fp, 'utf-8')
+... feed.write(fp, 'utf-8')
For definitions of the different versions of RSS, see:
http://diveintomark.org/archives/2004/02/04/incompatible-rss