summaryrefslogtreecommitdiff
path: root/docs/narr/events.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2013-11-18 07:03:41 -0500
committerChris McDonough <chrism@plope.com>2013-11-18 07:03:41 -0500
commitfb15c26a2960d5f7bf598c147f1dd6ad6a062952 (patch)
treebf13d3a849854048d998d9b0c139d7f7f4797495 /docs/narr/events.rst
parent94b754aac45e235b5b11a60489395b77c8195fdc (diff)
parente3a1b2c8af41410fdc0bacaf0b695b71078cf0bf (diff)
downloadpyramid-fb15c26a2960d5f7bf598c147f1dd6ad6a062952.tar.gz
pyramid-fb15c26a2960d5f7bf598c147f1dd6ad6a062952.tar.bz2
pyramid-fb15c26a2960d5f7bf598c147f1dd6ad6a062952.zip
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/narr/events.rst')
-rw-r--r--docs/narr/events.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/events.rst b/docs/narr/events.rst
index 2accb3dbe..50484761d 100644
--- a/docs/narr/events.rst
+++ b/docs/narr/events.rst
@@ -172,7 +172,7 @@ track of the information that subscribers will need. Here are some
example custom event classes:
.. code-block:: python
- :linenos:
+ :linenos:
class DocCreated(object):
def __init__(self, doc, request):
@@ -196,7 +196,7 @@ also use custom events with :ref:`subscriber predicates
event with a decorator:
.. code-block:: python
- :linenos:
+ :linenos:
from pyramid.events import subscriber
from .events import DocCreated
@@ -215,7 +215,7 @@ To fire your custom events use the
accessed as ``request.registry.notify``. For example:
.. code-block:: python
- :linenos:
+ :linenos:
from .events import DocCreated