summaryrefslogtreecommitdiff
path: root/docs/narr/events.rst
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2014-02-10 22:36:08 -0600
committerSteve Piercy <web@stevepiercy.com>2014-02-10 22:36:08 -0600
commitc444a314433ae55148eadd6481120bb875a954c1 (patch)
tree886f63ba4c3d37346330473aadab043e74bbc55b /docs/narr/events.rst
parent15c9fb86a26d05056bf744621596eb3e4e3f12f7 (diff)
parent2033eeb3602f330930585678aac926749b9c22f7 (diff)
downloadpyramid-c444a314433ae55148eadd6481120bb875a954c1.tar.gz
pyramid-c444a314433ae55148eadd6481120bb875a954c1.tar.bz2
pyramid-c444a314433ae55148eadd6481120bb875a954c1.zip
Merge pull request #1241 from stevepiercy/master
Garden Sphinx directives
Diffstat (limited to 'docs/narr/events.rst')
-rw-r--r--docs/narr/events.rst6
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
-----------------------------------------------