summaryrefslogtreecommitdiff
path: root/docs/api/registry.rst
diff options
context:
space:
mode:
authorPaul Everitt <paul@agendaless.com>2013-08-13 13:58:56 -0400
committerPaul Everitt <paul@agendaless.com>2013-08-13 13:58:56 -0400
commita66e00e9bd51fdffd85fef14e83f12502f2d864e (patch)
tree43eb06f24df2818e2db5a947e9866c8076257e91 /docs/api/registry.rst
parentbf84d90b4dccb9fc52c8fe385e52f7a63e9a5535 (diff)
parent5ae91a8ef06c4484bf748c7be578b28d0ca0f12c (diff)
downloadpyramid-a66e00e9bd51fdffd85fef14e83f12502f2d864e.tar.gz
pyramid-a66e00e9bd51fdffd85fef14e83f12502f2d864e.tar.bz2
pyramid-a66e00e9bd51fdffd85fef14e83f12502f2d864e.zip
Merge remote-tracking branch 'origin/master' into docs.gettingstarted
Conflicts: docs/index.rst docs/latexindex.rst setup.py
Diffstat (limited to 'docs/api/registry.rst')
-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