summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2011-07-22 11:55:19 -0500
committerMichael Merickel <michael@merickel.org>2011-07-22 11:55:19 -0500
commit15ac15d60e788c087facfce85b1ead9f7dd4c3ae (patch)
treedd3046016a2b4595e5ce1469c9edb9b9a5367f5a /docs
parent16b93e024e4c16e5684186fa34be2485de1e96ee (diff)
downloadpyramid-15ac15d60e788c087facfce85b1ead9f7dd4c3ae.tar.gz
pyramid-15ac15d60e788c087facfce85b1ead9f7dd4c3ae.tar.bz2
pyramid-15ac15d60e788c087facfce85b1ead9f7dd4c3ae.zip
Fixed formatting fail.
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/hooks.rst3
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