summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKarl O. Pinc <kop@meme.com>2013-10-02 13:36:05 -0500
committerKarl O. Pinc <kop@meme.com>2013-10-02 13:36:05 -0500
commit190b5644c473286f8066c9eb430c567dfdeb4913 (patch)
treebe06287e961076f392ef43c3034567bc2fe9b908 /docs
parentae5f2b9da9583114f3f5a6f08497e5a248e3e960 (diff)
downloadpyramid-190b5644c473286f8066c9eb430c567dfdeb4913.tar.gz
pyramid-190b5644c473286f8066c9eb430c567dfdeb4913.tar.bz2
pyramid-190b5644c473286f8066c9eb430c567dfdeb4913.zip
Docs: sessions.rst: Explain example.
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/sessions.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/narr/sessions.rst b/docs/narr/sessions.rst
index 358977089..eafa9dbf9 100644
--- a/docs/narr/sessions.rst
+++ b/docs/narr/sessions.rst
@@ -99,6 +99,10 @@ example:
else:
return Response('Fred was not in the session')
+The first time this view is invoked produces ``Fred was not in the
+session``. Subsequent invocations produce ``Fred was in the
+session``.
+
You can use a session much like a Python dictionary. It supports all
dictionary methods, along with some extra attributes, and methods.