diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-09-29 00:04:01 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-09-29 00:04:01 -0700 |
| commit | 160aabb3798b4f613c89054ce4a60cba7374ddae (patch) | |
| tree | 0a8740ea3fe6dc1c8863122ced6afe3178c75437 /docs/narr/viewconfig.rst | |
| parent | 9060dffe29e60e7528aab8d6d2006eee3cd72522 (diff) | |
| download | pyramid-160aabb3798b4f613c89054ce4a60cba7374ddae.tar.gz pyramid-160aabb3798b4f613c89054ce4a60cba7374ddae.tar.bz2 pyramid-160aabb3798b4f613c89054ce4a60cba7374ddae.zip | |
Clean up docstrings/narr docs from PR #2660
- Closes #2768
Diffstat (limited to 'docs/narr/viewconfig.rst')
| -rw-r--r-- | docs/narr/viewconfig.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst index 76eaf3cc5..7cb8e0306 100644 --- a/docs/narr/viewconfig.rst +++ b/docs/narr/viewconfig.rst @@ -307,8 +307,8 @@ configured view. interface; it is otherwise false. It is possible to pass an exception class as the context if your context may - subclass an exception. In this case **two** views will be registered. One - will match normal incoming requests and the other will match as an + subclass an exception. In this case *two* views will be registered. One + will match normal incoming requests, and the other will match as an :term:`exception view` which only occurs when an exception is raised during the normal request processing pipeline. @@ -317,11 +317,11 @@ configured view. ``exception_only`` - When this value is ``True`` the ``context`` argument must be a subclass of + When this value is ``True``, the ``context`` argument must be a subclass of ``Exception``. This flag indicates that only an :term:`exception view` should - be created and that this view should not match if the traversal + be created, and that this view should not match if the traversal :term:`context` matches the ``context`` argument. If the ``context`` is a - subclass of ``Exception`` and this value is ``False`` (the default) then a + subclass of ``Exception`` and this value is ``False`` (the default), then a view will be registered to match the traversal :term:`context` as well. .. versionadded:: 1.8 |
