diff options
| author | Chris McDonough <chrism@plope.com> | 2012-03-02 09:09:21 -0800 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-03-02 09:09:21 -0800 |
| commit | 830627e278dd2fcdaf3d2a8d8c906107a4c212ed (patch) | |
| tree | dd5a535ee7f577475f59bb071b2b1e43bdad8565 /docs | |
| parent | f5a1a3cf957001ee338ee02502a1a0654fb694ca (diff) | |
| parent | 49c5838d43b377c9204375e9462ef9200660eca7 (diff) | |
| download | pyramid-830627e278dd2fcdaf3d2a8d8c906107a4c212ed.tar.gz pyramid-830627e278dd2fcdaf3d2a8d8c906107a4c212ed.tar.bz2 pyramid-830627e278dd2fcdaf3d2a8d8c906107a4c212ed.zip | |
Merge pull request #457 from mjpieters/doccorrections
Minor correction for narrative documentation
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. |
