diff options
| author | Chris McDonough <chrism@plope.com> | 2012-09-16 03:39:26 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-09-16 03:39:26 -0400 |
| commit | b895defdcecbf9d758ad92b1bbf6a49f21620c8a (patch) | |
| tree | a1179c91f7cd7132e799c63866287718ba4d51df /docs | |
| parent | 1e59ef41026d9754ac9dc21522dd68edfcaf18d7 (diff) | |
| download | pyramid-b895defdcecbf9d758ad92b1bbf6a49f21620c8a.tar.gz pyramid-b895defdcecbf9d758ad92b1bbf6a49f21620c8a.tar.bz2 pyramid-b895defdcecbf9d758ad92b1bbf6a49f21620c8a.zip | |
wording
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/subrequest.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/narr/subrequest.rst b/docs/narr/subrequest.rst index 39f985520..4f132f72f 100644 --- a/docs/narr/subrequest.rst +++ b/docs/narr/subrequest.rst @@ -124,7 +124,8 @@ exception will usually bubble up to the invoking code: server.serve_forever() In the above application, the call to ``request.subrequest(subreq)`` will -raise a :exc:`ValueError` exception instead of obtaining a "500" response. +actually raise a :exc:`ValueError` exception instead of retrieving a "500" +response from the attempted invocation of ``view_two``. The :meth:`pyramid.request.Request.subrequest` API accepts two arguments: a positional argument ``request`` that must be provided, and and ``use_tweens`` |
