diff options
| author | Steve Piercy <web@stevepiercy.com> | 2015-03-13 02:26:29 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2015-03-13 02:26:29 -0700 |
| commit | b0218c806d684771b00eb93af58c8482376af349 (patch) | |
| tree | 25fcd4b6f25b7e0841a3c8c68c0ead431c6653db /docs/tutorials/wiki/authorization.rst | |
| parent | 6c1a1c60123d150a41fef3062df9a64b995305c5 (diff) | |
| download | pyramid-b0218c806d684771b00eb93af58c8482376af349.tar.gz pyramid-b0218c806d684771b00eb93af58c8482376af349.tar.bz2 pyramid-b0218c806d684771b00eb93af58c8482376af349.zip | |
Update code example
Modify `lines` to include closing parens in source and update corresponding `emphasize-lines`. Closes #1606.
Diffstat (limited to 'docs/tutorials/wiki/authorization.rst')
| -rw-r--r-- | docs/tutorials/wiki/authorization.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/wiki/authorization.rst b/docs/tutorials/wiki/authorization.rst index 93cd0c18e..6c98b6f3a 100644 --- a/docs/tutorials/wiki/authorization.rst +++ b/docs/tutorials/wiki/authorization.rst @@ -197,9 +197,9 @@ Add the following import statements to the head of ``tutorial/tutorial/views.py``: .. literalinclude:: src/authorization/tutorial/views.py - :lines: 6-13,15-17 + :lines: 6-17 :linenos: - :emphasize-lines: 3,6-9,11 + :emphasize-lines: 3,6-11 :language: python (Only the highlighted lines, with other necessary modifications, |
