diff options
| author | Steve Piercy <web@stevepiercy.com> | 2014-02-10 03:22:33 -0600 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2014-02-10 22:32:34 -0600 |
| commit | 2033eeb3602f330930585678aac926749b9c22f7 (patch) | |
| tree | 8c0b12ea184357772b7c703f8171095dfd5226d5 /docs/narr/events.rst | |
| parent | 5ac519452613b7bd5df22293c2ccb3b9c3597ef4 (diff) | |
| download | pyramid-2033eeb3602f330930585678aac926749b9c22f7.tar.gz pyramid-2033eeb3602f330930585678aac926749b9c22f7.tar.bz2 pyramid-2033eeb3602f330930585678aac926749b9c22f7.zip | |
- Garden PR #1121
Diffstat (limited to 'docs/narr/events.rst')
| -rw-r--r-- | docs/narr/events.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/narr/events.rst b/docs/narr/events.rst index 50484761d..09caac898 100644 --- a/docs/narr/events.rst +++ b/docs/narr/events.rst @@ -44,7 +44,7 @@ Configuring an Event Listener Imperatively You can imperatively configure a subscriber function to be called for some event type via the :meth:`~pyramid.config.Configurator.add_subscriber` -method (see also :term:`Configurator`): +method: .. code-block:: python :linenos: @@ -63,6 +63,10 @@ The first argument to subscriber function (or a :term:`dotted Python name` which refers to a subscriber callable); the second argument is the event type. +.. seealso:: + + See also :term:`Configurator`. + Configuring an Event Listener Using a Decorator ----------------------------------------------- |
