summaryrefslogtreecommitdiff
path: root/django/utils/feedgenerator.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2012-05-05 09:54:30 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2012-05-05 09:54:30 -0500
commit1583d402240d88ad2a4acc024d348a21657ccaba (patch)
tree53fe882999f38a026c2f8724aeba4ef963e00a34 /django/utils/feedgenerator.py
parent208e26b39c95ab7569780a7962b25dd4749d9a18 (diff)
Fixed the syntax used for the Python repl examples in docs and docstrings.
Diffstat (limited to 'django/utils/feedgenerator.py')
-rw-r--r--django/utils/feedgenerator.py2
1 files changed, 1 insertions, 1 deletions
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