summaryrefslogtreecommitdiff
path: root/docs/narr/events.rst
diff options
context:
space:
mode:
authorAntti Haapala <antti@haapala.name>2013-11-17 00:11:37 +0200
committerAntti Haapala <antti@haapala.name>2013-11-17 00:51:16 +0200
commit392a6c7df93b67d6889680133fda0f744970d61f (patch)
tree6a95764f874efbbb0114516d58bcdd0e3e5aa6e4 /docs/narr/events.rst
parent94b754aac45e235b5b11a60489395b77c8195fdc (diff)
downloadpyramid-392a6c7df93b67d6889680133fda0f744970d61f.tar.gz
pyramid-392a6c7df93b67d6889680133fda0f744970d61f.tar.bz2
pyramid-392a6c7df93b67d6889680133fda0f744970d61f.zip
Removed extra indentation from some examples (:linenos: should be indented with the same indentation as the rest of the code block)
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