diff options
| author | Bob Halley <halley@dnspython.org> | 2020-05-09 13:30:45 -0700 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2020-05-09 13:30:45 -0700 |
| commit | d85b31d8be47bd7d8cfa67f7119ba833738a8038 (patch) | |
| tree | 272ef9acd1ff2e2518592599de33639ab1dd9b85 /dns/node.py | |
| parent | 9caf1923acc263606c207013b493ed86c47c34a4 (diff) | |
| download | dnspython-d85b31d8be47bd7d8cfa67f7119ba833738a8038.tar.gz | |
more documentation
Diffstat (limited to 'dns/node.py')
| -rw-r--r-- | dns/node.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/dns/node.py b/dns/node.py index 8c1802d..6ac79fd 100644 --- a/dns/node.py +++ b/dns/node.py @@ -87,14 +87,15 @@ class Node(object): *rdtype*, an ``int``, the type of the rdataset. - *covers*, an ``int``, the covered type. Usually this value is - dns.rdatatype.NONE, but if the rdtype is dns.rdatatype.SIG or - dns.rdatatype.RRSIG, then the covers value will be the rdata - type the SIG/RRSIG covers. The library treats the SIG and RRSIG - types as if they were a family of - types, e.g. RRSIG(A), RRSIG(NS), RRSIG(SOA). This makes RRSIGs much - easier to work with than if RRSIGs covering different rdata - types were aggregated into a single RRSIG rdataset. + *covers*, an ``int`` or ``None``, the covered type. + Usually this value is ``dns.rdatatype.NONE``, but if the + rdtype is ``dns.rdatatype.SIG`` or ``dns.rdatatype.RRSIG``, + then the covers value will be the rdata type the SIG/RRSIG + covers. The library treats the SIG and RRSIG types as if they + were a family of types, e.g. RRSIG(A), RRSIG(NS), RRSIG(SOA). + This makes RRSIGs much easier to work with than if RRSIGs + covering different rdata types were aggregated into a single + RRSIG rdataset. *create*, a ``bool``. If True, create the rdataset if it is not found. |
