diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2010-12-06 08:39:41 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2010-12-06 08:39:41 -0700 |
| commit | 60e1d9987526d751997eb4c6a0251f1d986d2170 (patch) | |
| tree | b1918f00cf325c38e8f1e752d8d73925db4ae53e /docs | |
| parent | 8220face95e205f694a28986a35146da37c5c34a (diff) | |
| download | pyramid-60e1d9987526d751997eb4c6a0251f1d986d2170.tar.gz pyramid-60e1d9987526d751997eb4c6a0251f1d986d2170.tar.bz2 pyramid-60e1d9987526d751997eb4c6a0251f1d986d2170.zip | |
clarify paragraph about action value vs method name
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/handlers.rst | 7 |
1 files changed, 3 insertions, 4 deletions
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` ------------------------------------------------------------- |
