From 60e1d9987526d751997eb4c6a0251f1d986d2170 Mon Sep 17 00:00:00 2001 From: Casey Duncan Date: Mon, 6 Dec 2010 08:39:41 -0700 Subject: clarify paragraph about action value vs method name --- docs/narr/handlers.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/narr/handlers.rst b/docs/narr/handlers.rst index 2ff925d30..ef5ffd45d 100644 --- a/docs/narr/handlers.rst +++ b/docs/narr/handlers.rst @@ -83,10 +83,9 @@ specific ``action`` name: handler=Hello, action='index') This will result one of the methods that are configured for the ``action`` of -'index' in the ``Hello`` handler class to be called. Other methods in the -handler class not named 'index' might be called if they were configured to be -called when the ``action`` name is 'index' as will be seen below. - +'index' in the ``Hello`` handler class to be called. In this case the name +of the method is the same as the action value: 'index'. However, this +need not be the case, as we will see below. Using :meth:`~pyramid.configuration.Configurator.add_handler` ------------------------------------------------------------- -- cgit v1.2.3