summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/name-class.rst5
-rw-r--r--doc/rdata-class.rst1
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/name-class.rst b/doc/name-class.rst
index 1a14081..cec5d46 100644
--- a/doc/name-class.rst
+++ b/doc/name-class.rst
@@ -5,6 +5,7 @@ The dns.name.Name Class and Predefined Names
.. autoclass:: dns.name.Name
:members:
+ :inherited-members:
.. attribute:: labels
@@ -12,6 +13,10 @@ The dns.name.Name Class and Predefined Names
labels in the name, in order from least-significant label
(i.e. farthest from the origin) to most-significant label.
+ .. method:: __init__(labels)
+
+ Initialize a name using *labels*, an iterable of ``bytes`` or ``str``.
+
.. data:: dns.name.root
The root name, i.e. ``dns.name.Name([b''])``.
diff --git a/doc/rdata-class.rst b/doc/rdata-class.rst
index a7308fa..cdebaa8 100644
--- a/doc/rdata-class.rst
+++ b/doc/rdata-class.rst
@@ -39,3 +39,4 @@ future behavior to be tested with existing code.
.. autoclass:: dns.rdata.Rdata
:members:
+ :inherited-members: