Tres Seaver
2014-02-26 9181cbfdb42a1246f8018fda45abd058c8032380
Merge pull request #1248 from dobesv/patch-1

Fix documentation for add_notfound_view()
1 files modified
2 ■■■ changed files
pyramid/config/views.py 2 ●●● patch | view | raw | blame | history
pyramid/config/views.py
@@ -1621,7 +1621,7 @@
        ):
        """ Add a default notfound view to the current configuration state.
        The view will be called when Pyramid or application code raises an
        :exc:`pyramid.httpexceptions.HTTPForbidden` exception (e.g. when a
        :exc:`pyramid.httpexceptions.HTTPNotFound` exception (e.g. when a
        view cannot be found for the request).  The simplest example is:
          .. code-block:: python