From 56aa52c7175bc110b9505b0142eec4308f49c0d8 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Sun, 27 Jan 2013 20:18:34 +0200 Subject: capitalize --- pyramid/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyramid/session.py b/pyramid/session.py index a5e6a8d3a..f8075f942 100644 --- a/pyramid/session.py +++ b/pyramid/session.py @@ -163,7 +163,7 @@ def UnencryptedCookieSessionFactoryConfig( while rendering a view. Default: ``True``. ``signed_serialize`` - A callable which takes more or less arbitrary python data structure and + A callable which takes more or less arbitrary Python data structure and a secret and returns a signed serialization in bytes. Default: ``signed_serialize`` (using pickle). -- cgit v1.2.3 From 63ce17101695073a9e330af7099b908a48be40a5 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Sun, 27 Jan 2013 20:19:14 +0200 Subject: avoid needless repetition These are already stated on the function definition. --- pyramid/session.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pyramid/session.py b/pyramid/session.py index f8075f942..7db8c8e0e 100644 --- a/pyramid/session.py +++ b/pyramid/session.py @@ -140,27 +140,27 @@ def UnencryptedCookieSessionFactoryConfig( A number of seconds of inactivity before a session times out. ``cookie_name`` - The name of the cookie used for sessioning. Default: ``session``. + The name of the cookie used for sessioning. ``cookie_max_age`` The maximum age of the cookie used for sessioning (in seconds). Default: ``None`` (browser scope). ``cookie_path`` - The path used for the session cookie. Default: ``/``. + The path used for the session cookie. ``cookie_domain`` The domain used for the session cookie. Default: ``None`` (no domain). ``cookie_secure`` - The 'secure' flag of the session cookie. Default: ``False``. + The 'secure' flag of the session cookie. ``cookie_httponly`` - The 'httpOnly' flag of the session cookie. Default: ``False``. + The 'httpOnly' flag of the session cookie. ``cookie_on_exception`` If ``True``, set a session cookie even if an exception occurs - while rendering a view. Default: ``True``. + while rendering a view. ``signed_serialize`` A callable which takes more or less arbitrary Python data structure and -- cgit v1.2.3