diff options
| author | Steve Piercy <web@stevepiercy.com> | 2013-11-16 16:13:02 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2013-11-16 16:13:02 -0800 |
| commit | e697c98813a4acd332da5688867e799adfc9b835 (patch) | |
| tree | c979ca54739133a35f1d61980c6078c6e42c6827 /docs/narr/events.rst | |
| parent | 94b754aac45e235b5b11a60489395b77c8195fdc (diff) | |
| parent | bd897bbcfd936d36ad9877a2f00792454767b7fb (diff) | |
| download | pyramid-e697c98813a4acd332da5688867e799adfc9b835.tar.gz pyramid-e697c98813a4acd332da5688867e799adfc9b835.tar.bz2 pyramid-e697c98813a4acd332da5688867e799adfc9b835.zip | |
Merge pull request #1193 from ztane/master
Indentation fixes
Diffstat (limited to 'docs/narr/events.rst')
| -rw-r--r-- | docs/narr/events.rst | 6 |
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 |
