diff options
| author | Steve Piercy <web@stevepiercy.com> | 2011-12-01 22:26:50 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2011-12-01 22:26:50 -0800 |
| commit | 5999a8c3ae406902987989cf7c48d3c08b6638cf (patch) | |
| tree | a679a4ccc3f3e295293ad31b423ce5a42d52922b /docs | |
| parent | 65fb3b371d63f59fa94ec2b5a431894eb78060be (diff) | |
| download | pyramid-5999a8c3ae406902987989cf7c48d3c08b6638cf.tar.gz pyramid-5999a8c3ae406902987989cf7c48d3c08b6638cf.tar.bz2 pyramid-5999a8c3ae406902987989cf7c48d3c08b6638cf.zip | |
Attempt to correct grammar in this paragraph. Uncertain whether it is both technically and grammatically correct now. Please verify.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/firstapp.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/narr/firstapp.rst b/docs/narr/firstapp.rst index ccc2b8b18..2c8e346b1 100644 --- a/docs/narr/firstapp.rst +++ b/docs/narr/firstapp.rst @@ -71,11 +71,11 @@ named ``hello_world``. :linenos: :pyobject: hello_world -This function doesn't do anything very difficult. The functions accepts a +This function doesn't do anything very difficult. The function accepts a single argument (``request``). The ``hello_world`` function returns an -instance of the :class:`pyramid.response.Response`. The single argument to -the class' constructor is value computed from arguments matched from the url -route. This value becomes the body of the response. +instance of the :class:`pyramid.response.Response` class. The single +argument to the class' constructor value is computed from arguments +matched from the url route. This value becomes the body of the response. This function is known as a :term:`view callable`. A view callable accepts a single argument, ``request``. It is expected to return a |
