summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-01-24 01:10:13 -0800
committerSteve Piercy <web@stevepiercy.com>2016-01-24 01:10:13 -0800
commit22f221099e785cb763e9659da029933ca9fc11e6 (patch)
tree95b71e504ea996fddef0410de5ca8b80d8040c71 /docs/narr
parent3cdd3cedb9a120228f5bb2c0a9d53c0017b55cd9 (diff)
downloadpyramid-22f221099e785cb763e9659da029933ca9fc11e6.tar.gz
pyramid-22f221099e785cb763e9659da029933ca9fc11e6.tar.bz2
pyramid-22f221099e785cb763e9659da029933ca9fc11e6.zip
Use proper syntax names in code samples to allow highlighting and avoid errors. See https://github.com/sphinx-doc/sphinx/issues/2264
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/webob.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/webob.rst b/docs/narr/webob.rst
index f18cf1dfb..cfcf532bc 100644
--- a/docs/narr/webob.rst
+++ b/docs/narr/webob.rst
@@ -269,7 +269,7 @@ to a :app:`Pyramid` application:
When such a request reaches a view in your application, the
``request.json_body`` attribute will be available in the view callable body.
-.. code-block:: javascript
+.. code-block:: python
@view_config(renderer='string')
def aview(request):