From c0464221ac3a238a6889ac7a922842e593579fbf Mon Sep 17 00:00:00 2001
From: Steve Piercy <web@stevepiercy.com>
Date: Mon, 19 Mar 2018 00:08:35 +0100
Subject: [PATCH] Merge pull request #3246 from stevepiercy/1.8-branch

---
 pyramid/session.py |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/pyramid/session.py b/pyramid/session.py
index 47b80f6..5872130 100644
--- a/pyramid/session.py
+++ b/pyramid/session.py
@@ -288,7 +288,7 @@
     ):
     """
     .. versionadded:: 1.5
-    
+
     Configure a :term:`session factory` which will provide cookie-based
     sessions.  The return value of this function is a :term:`session factory`,
     which may be provided as the ``session_factory`` argument of a
@@ -540,7 +540,7 @@
         compatible with cookies generated using
         ``UnencryptedCookieSessionFactory``, so existing user session data
         will be destroyed if you switch to it.
-    
+
     Configure a :term:`session factory` which will provide unencrypted
     (but signed) cookie-based sessions.  The return value of this
     function is a :term:`session factory`, which may be provided as
@@ -599,7 +599,7 @@
     class SerializerWrapper(object):
         def __init__(self, secret):
             self.secret = secret
-            
+
         def loads(self, bstruct):
             return signed_deserialize(bstruct, secret)
 
@@ -647,7 +647,7 @@
     ):
     """
     .. versionadded:: 1.5
-    
+
     Configure a :term:`session factory` which will provide signed
     cookie-based sessions.  The return value of this
     function is a :term:`session factory`, which may be provided as
@@ -666,7 +666,7 @@
     ``secret``
       A string which is used to sign the cookie. The secret should be at
       least as long as the block size of the selected hash algorithm. For
-      ``sha512`` this would mean a 128 bit (64 character) secret.  It should
+      ``sha512`` this would mean a 512 bit (64 character) secret.  It should
       be unique within the set of secret values provided to Pyramid for
       its various subsystems (see :ref:`admonishment_against_secret_sharing`).
 

--
Gitblit v1.9.3