From 6067de3ec37e647e1be12f91151faa23d76ab7d4 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 7 Nov 2010 23:45:27 -0500 Subject: - All references to events by interface (e.g. ``pyramid.interfaces.INewRequest``) have been changed to reference their concrete classes (e.g. ``pyramid.events.NewRequest``) in documentation about making subscriptions. --- docs/zcml/subscriber.rst | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'docs/zcml') diff --git a/docs/zcml/subscriber.rst b/docs/zcml/subscriber.rst index c48c89a9b..c04aecff2 100644 --- a/docs/zcml/subscriber.rst +++ b/docs/zcml/subscriber.rst @@ -11,12 +11,11 @@ Attributes ~~~~~~~~~~ ``for`` - The class or :term:`interface` that you are subscribing the - 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`` - (implying *any* event type). + The class or :term:`interface` that you are subscribing the listener for, + e.g. :class:`pyramid.events.NewRequest`. 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`` (implying *any* event type). ``handler`` A :term:`dotted Python name` which references an event handler @@ -30,7 +29,7 @@ Examples :linenos: -- cgit v1.2.3