summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Jimenez <jimenez.john0@gmail.com>2017-01-28 08:51:43 -0800
committerSteve Piercy <web@stevepiercy.com>2017-01-28 16:00:14 -0800
commit3ef8d92dbbd8b97ec66d5652b9a66a3652904722 (patch)
tree4a1ef6d4a893cd846d0f029dfce315f97d15167e
parent659ea6dc622666376f345f03c1c444463ba01835 (diff)
downloadpyramid-3ef8d92dbbd8b97ec66d5652b9a66a3652904722.tar.gz
pyramid-3ef8d92dbbd8b97ec66d5652b9a66a3652904722.tar.bz2
pyramid-3ef8d92dbbd8b97ec66d5652b9a66a3652904722.zip
Minor change
"functions, classes or any callable that accept" was messing with the flow while reading. Proposed change flows a little better for me. (cherry picked from commit 87d8aba)
-rw-r--r--docs/narr/views.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst
index 1a840fb5c..e8a07202e 100644
--- a/docs/narr/views.rst
+++ b/docs/narr/views.rst
@@ -523,8 +523,7 @@ Alternate View Callable Argument/Calling Conventions
----------------------------------------------------
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.