From 2a02904ae13cc1e372bb47be1e116d3de4d7db85 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 9 Sep 2010 23:31:22 +0000 Subject: remove repeated section --- docs/narr/events.rst | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'docs') diff --git a/docs/narr/events.rst b/docs/narr/events.rst index a965a2765..dcdd3f094 100644 --- a/docs/narr/events.rst +++ b/docs/narr/events.rst @@ -61,24 +61,6 @@ need to use ZCML for the same purpose: subscriber function (or a :term:`dotted Python name` which refers to a subscriber callable); the second argument is the event type. -.. topic:: Configuring an Event Listener Through ZCML - - You can configure an event listener by modifying your application's - ``configure.zcml``. Here's an example of a bit of XML you can add - to the ``configure.zcml`` file which registers the above - ``mysubscriber`` function, which we assume lives in a - ``subscribers.py`` module within your application: - - .. code-block:: xml - :linenos: - - - - See also :ref:`subscriber_directive`. - .. topic:: Configuring an Event Listener Using a Decorator You can configure a subscriber function to be called for some event -- cgit v1.2.3