summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/src/models/setup.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-01-03 08:16:06 -0500
committerChris McDonough <chrism@plope.com>2012-01-03 08:16:06 -0500
commit52a948e65ef923340a9c172fe6d258f2832f8799 (patch)
tree91ad8ef9a993ff3667fa608068cc7b04d318370b /docs/tutorials/wiki2/src/models/setup.py
parent22c2200bf69ca49a0bfbe0e0a0241e87b9143737 (diff)
downloadpyramid-52a948e65ef923340a9c172fe6d258f2832f8799.tar.gz
pyramid-52a948e65ef923340a9c172fe6d258f2832f8799.tar.bz2
pyramid-52a948e65ef923340a9c172fe6d258f2832f8799.zip
- The documentation of ``pyramid.events.subscriber`` indicated that using it
as a decorator with no arguments like this:: @subscriber() def somefunc(event): pass Would register ``somefunc`` to receive all events sent via the registry, but this was untrue. Instead, it would receive no events at all. This has now been fixed and the code matches the documentation. See also https://github.com/Pylons/pyramid/issues/386 Closes #386
Diffstat (limited to 'docs/tutorials/wiki2/src/models/setup.py')
0 files changed, 0 insertions, 0 deletions