summaryrefslogtreecommitdiff
path: root/docs/narr/webob.rst
diff options
context:
space:
mode:
authorBlaise Laflamme <blaise@laflamme.org>2010-11-28 12:28:30 -0500
committerBlaise Laflamme <blaise@laflamme.org>2010-11-28 12:29:25 -0500
commit16cd50c1a5beef98c3297d105c1ccffccb8872c5 (patch)
treea42f0b082048c13916d48ca23719ec8d78074642 /docs/narr/webob.rst
parent099ac84208c019300174c0c8722cff7687bb43ca (diff)
downloadpyramid-16cd50c1a5beef98c3297d105c1ccffccb8872c5.tar.gz
pyramid-16cd50c1a5beef98c3297d105c1ccffccb8872c5.tar.bz2
pyramid-16cd50c1a5beef98c3297d105c1ccffccb8872c5.zip
Normalized narrative doc, code with linenos while text+bash don't
Diffstat (limited to 'docs/narr/webob.rst')
-rw-r--r--docs/narr/webob.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/narr/webob.rst b/docs/narr/webob.rst
index 17827fac9..92de9d409 100644
--- a/docs/narr/webob.rst
+++ b/docs/narr/webob.rst
@@ -288,6 +288,7 @@ Generally any attribute of the response can be passed in as a keyword
argument to the class; e.g.:
.. code-block:: python
+ :linenos:
from pyramid.response import Response
response = Response(body='hello world!', content_type='text/plain')
@@ -316,6 +317,7 @@ the same way. A typical example is:
.. ignore-next-block
.. code-block:: python
+ :linenos:
from pyramid.httpexceptions import HTTPNotFound
from pyramid.httpexceptions import HTTPMovedPermanently