summaryrefslogtreecommitdiff
path: root/docs/narr/events.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-07-03 01:41:04 +0000
committerChris McDonough <chrism@agendaless.com>2009-07-03 01:41:04 +0000
commit7bc20e11b5ed7314e5aaed000242d4d5950fc775 (patch)
tree6cb253ea95617ca4f24aa365f145ec2f81bf53fc /docs/narr/events.rst
parentc43c358c7ec7d352fd4792b993e4609cbab37dba (diff)
downloadpyramid-7bc20e11b5ed7314e5aaed000242d4d5950fc775.tar.gz
pyramid-7bc20e11b5ed7314e5aaed000242d4d5950fc775.tar.bz2
pyramid-7bc20e11b5ed7314e5aaed000242d4d5950fc775.zip
General editing walkthrough.
Diffstat (limited to 'docs/narr/events.rst')
-rw-r--r--docs/narr/events.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/narr/events.rst b/docs/narr/events.rst
index e54c97a88..ca3ecf3d6 100644
--- a/docs/narr/events.rst
+++ b/docs/narr/events.rst
@@ -4,7 +4,7 @@ Using Events
=============
An *event* is an object broadcast by the :mod:`repoze.bfg` framework
-at particularly interesting points during the lifetime of your
+at particularly interesting points during the lifetime of an
application. You don't need to use, know about, or care about events
in order to create most :mod:`repoze.bfg` applications, but they can
be useful when you want to do slightly advanced operations, such as
@@ -12,7 +12,7 @@ be useful when you want to do slightly advanced operations, such as
hostname used to reach the site.
Events in :mod:`repoze.bfg` are always broadcast by the framework.
-They only become useful when you register a *subscriber*. A
+However, they only become useful when you register a *subscriber*. A
subscriber is a function that accepts a single argument named `event`:
.. code-block:: python
@@ -86,7 +86,8 @@ must. Likewise, we know that ``INewResponse`` events have a
``response`` attribute, which is a response object constructed by your
application, because the interface defined at
``repoze.bfg.interfaces.INewResponse`` says it must. These particular
-interfaces are documented in the :ref:`events_module` API chapter.
+interfaces, along with others, are documented in the
+:ref:`events_module` API chapter.
.. note::