summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2013-02-23 13:01:48 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2013-03-05 09:28:05 +0200
commitfeee096963f9c64681210d1fd11de337a5c9afbc (patch)
tree3b67c593c76f2829056132c0bad9dc83caeb1399
parent6a2827684a13bb588b031f4ac9a6257344bb4e18 (diff)
downloadpyramid-feee096963f9c64681210d1fd11de337a5c9afbc.tar.gz
pyramid-feee096963f9c64681210d1fd11de337a5c9afbc.tar.bz2
pyramid-feee096963f9c64681210d1fd11de337a5c9afbc.zip
add missing word, add a :term: role where it was missing, improve readability
-rw-r--r--docs/narr/views.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst
index 8ebdfe219..afc2787ca 100644
--- a/docs/narr/views.rst
+++ b/docs/narr/views.rst
@@ -264,9 +264,9 @@ also be used by application developers to convert arbitrary exceptions to
responses.
To register a view that should be called whenever a particular exception is
-raised from with :app:`Pyramid` view code, use the exception class or one of
-its superclasses as the ``context`` of a view configuration which points at a
-view callable you'd like to generate a response.
+raised from within :app:`Pyramid` view code, use the exception class (or one of
+its superclasses) as the :term:`context` of a view configuration which points
+at a view callable you'd like to generate a response for.
For example, given the following exception class in a module named
``helloworld.exceptions``: