summaryrefslogtreecommitdiff
path: root/docs/zcml/subscriber.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-01-19 02:08:12 +0000
committerChris McDonough <chrism@agendaless.com>2010-01-19 02:08:12 +0000
commit37bcb77a86b73151c781d8b0b8c2d3d4e14f5fe7 (patch)
treeb59bda2b0e5151ffe17b39f6fa6e82d6409b333e /docs/zcml/subscriber.rst
parent56971c5db0ba61bdc270da8e72c35708f93d9e11 (diff)
downloadpyramid-37bcb77a86b73151c781d8b0b8c2d3d4e14f5fe7.tar.gz
pyramid-37bcb77a86b73151c781d8b0b8c2d3d4e14f5fe7.tar.bz2
pyramid-37bcb77a86b73151c781d8b0b8c2d3d4e14f5fe7.zip
Bug Fixes
--------- - When the ``Configurator`` is passed an instance of ``zope.component.registry.Components`` as a ``registry`` constructor argument, fix the instance up to have the attributes we expect of an instance of ``repoze.bfg.registry.Registry`` when ``setup_registry`` is called. This makes it possible to use the global Zope component registry as a BFG application registry. Documentation ------------- - Change renderings of ZCML directive documentation. - Add a narrative documentation chapter: "Using the Zope Component Architecture in ``repoze.bfg``"
Diffstat (limited to 'docs/zcml/subscriber.rst')
-rw-r--r--docs/zcml/subscriber.rst2
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/zcml/subscriber.rst b/docs/zcml/subscriber.rst
index ef56d2b1c..371ec0752 100644
--- a/docs/zcml/subscriber.rst
+++ b/docs/zcml/subscriber.rst
@@ -11,7 +11,6 @@ Attributes
~~~~~~~~~~
``for``
-
The class or :term:`interface` that you are subscribing the
listener for, e.g. :class:`repoze.bfg.interfaces.INewRequest`.
Registering a subscriber for a specific class or interface limits
@@ -20,7 +19,6 @@ Attributes
(implying *any* event type).
``handler``
-
A :term:`dotted Python name` which references an event handler
callable. The callable should accept a single argument: ``event``.
The return value of the callable is ignored.