summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
authorBert JW Regeer <bertjw@regeer.org>2013-09-08 15:15:58 -0600
committerBert JW Regeer <bertjw@regeer.org>2013-09-08 15:15:58 -0600
commitd71acabebb804ebbd37703e78ac9886fcdded827 (patch)
tree35286eb2efc12edf5375cb7e7be5e6d5d671680d /docs/narr
parentb098c223a3574988d6e8855a6c4764587a46b067 (diff)
downloadpyramid-d71acabebb804ebbd37703e78ac9886fcdded827.tar.gz
pyramid-d71acabebb804ebbd37703e78ac9886fcdded827.tar.bz2
pyramid-d71acabebb804ebbd37703e78ac9886fcdded827.zip
Update documentation to reflect the dotted python name
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/hooks.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst
index 8ffda1a5f..a7dc3e78b 100644
--- a/docs/narr/hooks.rst
+++ b/docs/narr/hooks.rst
@@ -1384,9 +1384,11 @@ The first argument to :meth:`pyramid.config.Configurator.add_view_predicate`,
the name, is a string representing the name that is expected to be passed to
``view_config`` (or its imperative analogue ``add_view``).
-The second argument is a view or route predicate factory. A view or route
-predicate factory is most often a class with a constructor (``__init__``), a
-``text`` method, a ``phash`` method and a ``__call__`` method. For example:
+The second argument is a view or route predicate factory, or a :term:`dotted
+Python name` which refers to a view or route predicate factory. A view or
+route predicate factory is most often a class with a constructor
+(``__init__``), a ``text`` method, a ``phash`` method and a ``__call__``
+method. For example:
.. code-block:: python
:linenos: