]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
fix doco errors
authorBob Halley <halley@dnspython.org>
Thu, 2 Dec 2021 19:40:45 +0000 (11:40 -0800)
committerBob Halley <halley@dnspython.org>
Thu, 2 Dec 2021 19:40:45 +0000 (11:40 -0800)
dns/node.py
dns/transaction.py

index 4871bafd9872407fb55ca13341c9c056acbff217..173915475cbc70a20bf49ea2d7c90ce0f3ac5566 100644 (file)
@@ -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
index 22c63a71ac0559f922596eb2feb5bf8bd151e52c..0df1e56498452204a891835ca063eaa30f35b4a8 100644 (file)
@@ -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