From 7ce649d1a1a4fe692c9896dc8b2287971b480314 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Thu, 2 Dec 2021 11:40:45 -0800 Subject: [PATCH] fix doco errors --- dns/node.py | 2 +- dns/transaction.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dns/node.py b/dns/node.py index 4871bafd..17391547 100644 --- a/dns/node.py +++ b/dns/node.py @@ -29,7 +29,7 @@ class Node: """A Node is a set of rdatasets. A node is either a CNAME node or an "other data" node. A CNAME - node contains only CNAME, RRSIG(CNAME), NSEC, RRSIG(NSEC), NSEC3, + node contains only CNAME, KEY, RRSIG(CNAME), NSEC, RRSIG(NSEC), NSEC3, or RRSIG(NSEC3) rdatasets. An "other data" node contains any rdataset other than a CNAME or RRSIG(CNAME) rdataset. When changes are made to a node, the CNAME or "other data" state is diff --git a/dns/transaction.py b/dns/transaction.py index 22c63a71..0df1e564 100644 --- a/dns/transaction.py +++ b/dns/transaction.py @@ -117,7 +117,7 @@ class Transaction: """Return the rdatasets at *name*, if any. The returned rdatasets are immutable. - An empty tuple is returned if the name doesn't exist. + An empty list is returned if the name doesn't exist. """ return [_ensure_immutable(rds) for rds in self._get_rdatasets(name)] @@ -301,7 +301,7 @@ class Transaction: """Call *check* before deleting an rdataset. The function is called with the transaction, the name, the rdatatype, - covered rdatatype. + and the covered rdatatype. The check function may safely make non-mutating transaction method calls, but behavior is undefined if mutating transaction methods are -- 2.47.3