Commit 59672ca3 authored by Guido Trotter's avatar Guido Trotter
Browse files

serializer: fix a few docstrings


Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 36145b12
......@@ -103,7 +103,7 @@ def LoadSignedJson(txt, key, salt_verifier=None):
@param key: shared hmac key
@param salt_verifier: function taking a salt as input and returning boolean
@rtype: tuple of original data, string
@return: (original data, salt)
@return: original data
@raises errors.SignatureError: if the message signature doesn't verify
"""
......@@ -141,7 +141,7 @@ def SaltEqualTo(expected):
def SaltIn(expected):
"""Helper salt verifier function that checks for equality.
"""Helper salt verifier function that checks for membership.
@type expected: collection
@param expected: collection of possible valid salts
......@@ -153,7 +153,7 @@ def SaltIn(expected):
def SaltInRange(min, max):
"""Helper salt verifier function that checks for equality.
"""Helper salt verifier function that checks for integer range.
@type min: integer
@param min: minimum salt value
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment