mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-25 21:17:37 +00:00
better docstring
This commit is contained in:
parent
fd2934cb79
commit
58e0b27374
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user