diff options
| author | Chris McDonough <chrism@plope.com> | 2011-07-23 13:40:39 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-07-23 13:40:39 -0400 |
| commit | 566a276a37fad8073206b46ec77b27498a126f02 (patch) | |
| tree | 142acfcc9dd82f80949bbc04696725009155ed9a /docs/narr/hooks.rst | |
| parent | 9a66aa09a8a773f67da59642a6642f1a3240c254 (diff) | |
| parent | b202997e2e0b9eed860afc9baa9497ba5b986fb1 (diff) | |
| download | pyramid-566a276a37fad8073206b46ec77b27498a126f02.tar.gz pyramid-566a276a37fad8073206b46ec77b27498a126f02.tar.bz2 pyramid-566a276a37fad8073206b46ec77b27498a126f02.zip | |
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/narr/hooks.rst')
| -rw-r--r-- | docs/narr/hooks.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index 2a6414e1f..985934736 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -601,6 +601,9 @@ to make sure the object implements every attribute and method outlined in :class:`pyramid.interfaces.IResponse` and you'll have to ensure that it's marked up with ``zope.interface.implements(IResponse)``: +.. code-block:: python + :linenos: + from pyramid.interfaces import IResponse from zope.interface import implements |
