summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert JW Regeer <bertjw@regeer.org>2015-02-07 01:06:29 -0700
committerBert JW Regeer <bertjw@regeer.org>2015-02-07 01:06:29 -0700
commit5de795938f4ec23c53cd4678021e36a72d3188cb (patch)
treed22702f081b3502528ce2ca2ef5b41429310dc15
parent04ef03eb425945a4e3d15f7a86a13f7e7be68948 (diff)
downloadpyramid-5de795938f4ec23c53cd4678021e36a72d3188cb.tar.gz
pyramid-5de795938f4ec23c53cd4678021e36a72d3188cb.tar.bz2
pyramid-5de795938f4ec23c53cd4678021e36a72d3188cb.zip
Document the factory requires a positional argument
-rw-r--r--docs/narr/hooks.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst
index 17cae2c67..8e6cf8343 100644
--- a/docs/narr/hooks.rst
+++ b/docs/narr/hooks.rst
@@ -368,6 +368,9 @@ changed by passing a ``response_factory`` argument to the constructor of the
:term:`configurator`. This argument can be either a callable or a
:term:`dotted Python name` representing a callable.
+The factory takes a single positional argument, which is a :term:`Request`
+object. The argument may be the value ``None``.
+
.. code-block:: python
:linenos: