From e939d14ca3f6075b5fa572ac9da9d9413f1204d3 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Mon, 11 May 2020 11:27:21 -0700 Subject: [PATCH] Improve validate() docs. --- dns/dnssec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dns/dnssec.py b/dns/dnssec.py index 48a4a3fe..c6f818d9 100644 --- a/dns/dnssec.py +++ b/dns/dnssec.py @@ -464,8 +464,8 @@ def _validate_rrsig(rrset, rrsig, keys, origin=None, now=None): def _validate(rrset, rrsigset, keys, origin=None, now=None): - """Validate an RRset. Returns ``None`` if at least one signature - validates, or throws an exception if no signature validates. + """Validate an RRset against a signature RRset, throwing an exception + if none of the signatures validate. *rrset*, the RRset to validate. This can be a ``dns.rrset.RRset`` or a (``dns.name.Name``, ``dns.rdataset.Rdataset``) -- 2.47.3