diff options
| author | Chris McDonough <chrism@plope.com> | 2013-11-18 07:03:41 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-11-18 07:03:41 -0500 |
| commit | fb15c26a2960d5f7bf598c147f1dd6ad6a062952 (patch) | |
| tree | bf13d3a849854048d998d9b0c139d7f7f4797495 /docs/narr/introspector.rst | |
| parent | 94b754aac45e235b5b11a60489395b77c8195fdc (diff) | |
| parent | e3a1b2c8af41410fdc0bacaf0b695b71078cf0bf (diff) | |
| download | pyramid-fb15c26a2960d5f7bf598c147f1dd6ad6a062952.tar.gz pyramid-fb15c26a2960d5f7bf598c147f1dd6ad6a062952.tar.bz2 pyramid-fb15c26a2960d5f7bf598c147f1dd6ad6a062952.zip | |
Merge branch 'master' of github.com:Pylons/pyramid
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'] |
