summaryrefslogtreecommitdiff
path: root/doc/name-class.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/name-class.rst')
-rw-r--r--doc/name-class.rst5
1 files changed, 5 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''])``.