From c03dbcca24aeedfb688bf49b7ccfeef20f6f8298 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 25 Oct 2010 18:13:44 -0400 Subject: convert zcml docs to Pyramid --- docs/zcml/subscriber.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/zcml/subscriber.rst') diff --git a/docs/zcml/subscriber.rst b/docs/zcml/subscriber.rst index 371ec0752..c48c89a9b 100644 --- a/docs/zcml/subscriber.rst +++ b/docs/zcml/subscriber.rst @@ -4,7 +4,7 @@ -------------- The ``subscriber`` ZCML directive configures an :term:`subscriber` -callable to listen for events broadcast by the :mod:`repoze.bfg` web +callable to listen for events broadcast by the :mod:`pyramid` web framework. Attributes @@ -12,7 +12,7 @@ Attributes ``for`` The class or :term:`interface` that you are subscribing the - listener for, e.g. :class:`repoze.bfg.interfaces.INewRequest`. + listener for, e.g. :class:`pyramid.interfaces.INewRequest`. Registering a subscriber for a specific class or interface limits the event types that the subscriber will receive to those specified by the interface or class. Default: ``zope.interface.Interface`` @@ -30,7 +30,7 @@ Examples :linenos: @@ -38,7 +38,7 @@ Alternatives ~~~~~~~~~~~~ You can also register an event listener by using the -:meth:`repoze.bfg.configuration.Configurator.add_subscriber` method. +:meth:`pyramid.configuration.Configurator.add_subscriber` method. See Also ~~~~~~~~ -- cgit v1.2.3