diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/commandline.rst | 4 | ||||
| -rw-r--r-- | docs/narr/views.rst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/commandline.rst b/docs/narr/commandline.rst index 95927cfca..886e075e3 100644 --- a/docs/narr/commandline.rst +++ b/docs/narr/commandline.rst @@ -142,11 +142,11 @@ might have a ``[app:main]`` section that looks like so: pyramid.default_locale_name = en If so, you can use the following command to invoke a debug shell using the -name ``MyProject`` as a section name: +name ``main`` as a section name: .. code-block:: text - chrism@thinko env26]$ bin/pshell starter/development.ini#MyProject + chrism@thinko env26]$ bin/pshell starter/development.ini#main Python 2.6.5 (r265:79063, Apr 29 2010, 00:31:32) [GCC 4.4.3] on linux2 Type "help" for more information. diff --git a/docs/narr/views.rst b/docs/narr/views.rst index dbc702de8..c3bbbd50e 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -178,7 +178,7 @@ HTTP Exceptions All classes documented in the :mod:`pyramid.httpexceptions` module documented as inheriting from the :class:`pryamid.httpexceptions.HTTPException` are -:term:`http exception` objects. An instances of an HTTP exception object may +:term:`http exception` objects. Instances of an HTTP exception object may either be *returned* or *raised* from within view code. In either case (return or raise) the instance will be used as as the view's response. |
