From 58e0b2737443c2512c8049d9ef2fa7039eb58fa9 Mon Sep 17 00:00:00 2001 From: meejah Date: Mon, 24 Jun 2019 11:57:56 -0600 Subject: [PATCH] better docstring --- src/allmydata/crypto/ed25519.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/allmydata/crypto/ed25519.py b/src/allmydata/crypto/ed25519.py index a64d689f0..b8404dec0 100644 --- a/src/allmydata/crypto/ed25519.py +++ b/src/allmydata/crypto/ed25519.py @@ -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):