Steve Piercy
2017-01-29 24455634162ef66420880f7750fbe1ca069aca82
Merge pull request #2936 from stevepiercy/master

minor grammar fixes
1 files modified
5 ■■■■■ changed files
docs/narr/views.rst 5 ●●●●● patch | view | raw | blame | history
docs/narr/views.rst
@@ -246,7 +246,7 @@
the user agent which performed the request.
If :exc:`~pyramid.httpexceptions.HTTPForbidden` is raised by Pyramid itself
within view code, the result of the :term:`Forbidden View` will be returned to
or within view code, the result of the :term:`Forbidden View` will be returned to
the user agent which performed the request.
.. index::
@@ -523,8 +523,7 @@
----------------------------------------------------
Usually view callables are defined to accept only a single argument:
``request``.  However, view callables may alternately be defined as classes,
functions, or any callable that accept *two* positional arguments: a
``request``.  However, a view callable may alternately be defined as any class, function, or callable that accepts *two* positional arguments: a
:term:`context` resource as the first argument and a :term:`request` as the
second argument.