summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2015-02-02 14:15:27 -0600
committerMichael Merickel <michael@merickel.org>2015-02-02 14:15:27 -0600
commit06ecaf50d7a66a624761043ce950ab32d3e883a9 (patch)
tree4f8710d67f55a19f25a4528bb773b9d2735d31da
parent8da041fe67a8f8d35418681f831a57e949d605e3 (diff)
downloadpyramid-06ecaf50d7a66a624761043ce950ab32d3e883a9.tar.gz
pyramid-06ecaf50d7a66a624761043ce950ab32d3e883a9.tar.bz2
pyramid-06ecaf50d7a66a624761043ce950ab32d3e883a9.zip
fix syntax of code-block again
-rw-r--r--pyramid/security.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/security.py b/pyramid/security.py
index 01de80b22..011545939 100644
--- a/pyramid/security.py
+++ b/pyramid/security.py
@@ -126,9 +126,9 @@ def remember(request, userid=_marker, **kw):
current :term:`authentication policy`. Common usage might look
like so within the body of a view function (``response`` is
assumed to be a :term:`WebOb` -style :term:`response` object
- computed previously by the view code)::
+ computed previously by the view code):
- .. code-block: python
+ .. code-block:: python
from pyramid.security import remember
headers = remember(request, 'chrism', password='123', max_age='86400')