From dd449905be07e6088d78af0be84e8e98e72e445d Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Thu, 19 Dec 2013 01:00:42 -0600 Subject: typos --- pyramid/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyramid/session.py b/pyramid/session.py index 8c9900975..e3ce4a090 100644 --- a/pyramid/session.py +++ b/pyramid/session.py @@ -165,7 +165,7 @@ def BaseCookieSessionFactory( Parameters: ``serializer`` - An object with two methods: `loads`` and ``dumps``. The ``loads`` method + An object with two methods: ``loads`` and ``dumps``. The ``loads`` method should accept bytes and return a Python object. The ``dumps`` method should accept a Python object and return bytes. A ``ValueError`` should be raised for malformed inputs. @@ -572,7 +572,7 @@ def SignedCookieSessionFactory( while rendering a view. Default: ``True``. ``serializer`` - An object with two methods: `loads`` and ``dumps``. The ``loads`` method + An object with two methods: ``loads`` and ``dumps``. The ``loads`` method should accept bytes and return a Python object. The ``dumps`` method should accept a Python object and return bytes. A ``ValueError`` should be raised for malformed inputs. If a serializer is not passed, the -- cgit v1.2.3