summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2013-08-13 06:35:17 -0400
committerChris McDonough <chrism@plope.com>2013-08-13 06:35:17 -0400
commit0d37d81949bc82de1bd9c1193f282909f9576c3a (patch)
tree6aaacaeb083c206a2726d406addadef1f6a4b257 /docs/api
parent986dc5f96c3bf0a62eb8984bfa5c2da4a3e2f254 (diff)
parent5ae91a8ef06c4484bf748c7be578b28d0ca0f12c (diff)
downloadpyramid-0d37d81949bc82de1bd9c1193f282909f9576c3a.tar.gz
pyramid-0d37d81949bc82de1bd9c1193f282909f9576c3a.tar.bz2
pyramid-0d37d81949bc82de1bd9c1193f282909f9576c3a.zip
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/registry.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/api/registry.rst b/docs/api/registry.rst
index db348495c..7736cf075 100644
--- a/docs/api/registry.rst
+++ b/docs/api/registry.rst
@@ -29,6 +29,15 @@
This attribute is often accessed as ``request.registry.introspector`` in
a typical Pyramid application.
+ .. method:: notify(*events)
+
+ Fire one or more events. All event subscribers to the event(s)
+ will be notified. The subscribers will be called synchronously.
+ This method is often accessed as ``request.registry.notify``
+ in Pyramid applications to fire custom events. See
+ :ref:`custom_events` for more information.
+
+
.. class:: Introspectable
.. versionadded:: 1.3