summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Reddy Thatiparthy <srinivasreddy@users.noreply.github.com>2017-01-20 18:08:17 +0530
committerTim Graham <timograham@gmail.com>2017-01-20 07:38:17 -0500
commitec4c1d6717da7a9d09d5b3ce84cccac819bb592c (patch)
tree38945cd18e8d9c80aa009cfc7788b427618233df
parent109b33f64c8d3f48c9e0bd3ea8d42fe6f3cb02b7 (diff)
Removed u'' prefx in django/core/signing.py comment.
-rw-r--r--django/core/signing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/signing.py b/django/core/signing.py
index b6bb749247..7d73611817 100644
--- a/django/core/signing.py
+++ b/django/core/signing.py
@@ -14,7 +14,7 @@ signing.loads(s) checks the signature and returns the deserialized object.
If the signature fails, a BadSignature exception is raised.
>>> signing.loads("ImhlbGxvIg:1QaUZC:YIye-ze3TTx7gtSv422nZA4sgmk")
-u'hello'
+'hello'
>>> signing.loads("ImhlbGxvIg:1QaUZC:YIye-ze3TTx7gtSv422nZA4sgmk-modified")
...
BadSignature: Signature failed: ImhlbGxvIg:1QaUZC:YIye-ze3TTx7gtSv422nZA4sgmk-modified