summaryrefslogtreecommitdiff
path: root/docs/narr/introspector.rst
diff options
context:
space:
mode:
authorAntti Haapala <antti@haapala.name>2013-11-17 00:11:37 +0200
committerAntti Haapala <antti@haapala.name>2013-11-17 00:51:16 +0200
commit392a6c7df93b67d6889680133fda0f744970d61f (patch)
tree6a95764f874efbbb0114516d58bcdd0e3e5aa6e4 /docs/narr/introspector.rst
parent94b754aac45e235b5b11a60489395b77c8195fdc (diff)
downloadpyramid-392a6c7df93b67d6889680133fda0f744970d61f.tar.gz
pyramid-392a6c7df93b67d6889680133fda0f744970d61f.tar.bz2
pyramid-392a6c7df93b67d6889680133fda0f744970d61f.zip
Removed extra indentation from some examples (:linenos: should be indented with the same indentation as the rest of the code block)
Diffstat (limited to 'docs/narr/introspector.rst')
-rw-r--r--docs/narr/introspector.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/introspector.rst b/docs/narr/introspector.rst
index 3c0a6744f..a7bde4cf7 100644
--- a/docs/narr/introspector.rst
+++ b/docs/narr/introspector.rst
@@ -24,7 +24,7 @@ Here's an example of using Pyramid's introspector from within a view
callable:
.. code-block:: python
- :linenos:
+ :linenos:
from pyramid.view import view_config
from pyramid.response import Response
@@ -100,7 +100,7 @@ its ``__getitem__``, ``get``, ``keys``, ``values``, or ``items`` methods.
For example:
.. code-block:: python
- :linenos:
+ :linenos:
route_intr = introspector.get('routes', 'edit_user')
pattern = route_intr['pattern']