summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/config/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/config/views.py b/pyramid/config/views.py
index 201ce9899..c53b2b091 100644
--- a/pyramid/config/views.py
+++ b/pyramid/config/views.py
@@ -1617,7 +1617,7 @@ class ViewsConfiguratorMixin(object):
):
""" Add a default Not Found 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