better docstring

This commit is contained in:
meejah 2019-06-24 11:57:56 -06:00
parent fd2934cb79
commit 58e0b27374

View File

@ -168,7 +168,8 @@ def verify_signature(public_key, alleged_signature, data):
:param bytes data: the data which was allegedly signed
:returns: None, or raises an exception if the signature is bad.
:raises: BadSignature if the signature is bad
:returns: None (or raises an exception).
"""
if not isinstance(alleged_signature, six.binary_type):