summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/utils.txt2
-rw-r--r--docs/topics/testing.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index f045f4bf5a..b323f0629f 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -240,7 +240,7 @@ Sample usage::
... description="Testing."
... )
>>> with open('test.rss', 'w') as fp:
- >>> feed.write(fp, 'utf-8')
+ ... feed.write(fp, 'utf-8')
For simplifying the selection of a generator use ``feedgenerator.DefaultFeed``
which is currently ``Rss201rev2Feed``
diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt
index 3971958dc7..d5ccc2d8fc 100644
--- a/docs/topics/testing.txt
+++ b/docs/topics/testing.txt
@@ -771,7 +771,7 @@ arguments at time of construction:
>>> c = Client()
>>> with open('wishlist.doc') as fp:
- >>> c.post('/customers/wishes/', {'name': 'fred', 'attachment': fp})
+ ... c.post('/customers/wishes/', {'name': 'fred', 'attachment': fp})
(The name ``attachment`` here is not relevant; use whatever name your
file-processing code expects.)