diff options
| author | Chris McDonough <chrism@plope.com> | 2013-11-18 07:03:51 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-11-18 07:03:51 -0500 |
| commit | c503891d43251e7bf6111c6c1f521b43c55d917b (patch) | |
| tree | 3028630a1d1e331718e16be26a54d69c56d76b9d /docs/narr/introspector.rst | |
| parent | 345694c8eb6dff9ef7375374c5032e53b764c1de (diff) | |
| parent | fb15c26a2960d5f7bf598c147f1dd6ad6a062952 (diff) | |
| download | pyramid-c503891d43251e7bf6111c6c1f521b43c55d917b.tar.gz pyramid-c503891d43251e7bf6111c6c1f521b43c55d917b.tar.bz2 pyramid-c503891d43251e7bf6111c6c1f521b43c55d917b.zip | |
Merge branch 'master' into 1.5-branch
Diffstat (limited to 'docs/narr/introspector.rst')
| -rw-r--r-- | docs/narr/introspector.rst | 4 |
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'] |
