From: Bob Halley Date: Thu, 2 Dec 2021 19:40:45 +0000 (-0800) Subject: fix doco errors X-Git-Tag: v2.2.0rc1~19^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ce649d1a1a4fe692c9896dc8b2287971b480314;p=thirdparty%2Fdnspython.git fix doco errors --- 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