summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjonathan vanasco <jonathan@2xlp.com>2019-11-05 11:42:08 -0500
committerjonathan vanasco <jonathan@2xlp.com>2019-11-05 16:51:11 -0500
commit24c19c8780379c77dc1cf5567d8cf18009d4d780 (patch)
tree5e28643c48b86782b3687c506afda52286c2b1a2
parent3bc31c66c41f795abdaa270645f1046f70a86e07 (diff)
downloadpyramid-24c19c8780379c77dc1cf5567d8cf18009d4d780.tar.gz
pyramid-24c19c8780379c77dc1cf5567d8cf18009d4d780.tar.bz2
pyramid-24c19c8780379c77dc1cf5567d8cf18009d4d780.zip
typo and tabs
-rw-r--r--docs/narr/sessions.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/sessions.rst b/docs/narr/sessions.rst
index 8ae20d63e..2da524d4c 100644
--- a/docs/narr/sessions.rst
+++ b/docs/narr/sessions.rst
@@ -113,7 +113,7 @@ Remember that sessions should be short-lived and thus the number of clients affe
During a migration, you may want to catch serialization errors here,
and keep using pickle while finding spots in your app that are not
storing JSON-serializable objects. You may also want to integrate
- a fall-back to picke serialization here as well.
+ a fall-back to pickle serialization here as well.
"""
return self.json.dumps(appstruct)
@@ -125,8 +125,8 @@ Remember that sessions should be short-lived and thus the number of clients affe
try:
return pickle.loads(bstruct)
except Exception:
- # this block should catch at least:
- # ValueError, AttributeError, ImportError; but more to be safe
+ # this block should catch at least:
+ # ValueError, AttributeError, ImportError; but more to be safe
raise ValueError
# somewhere in your configuration code