]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
fix documentation broken by the immutable mechanism
authorBob Halley <halley@dnspython.org>
Sun, 27 Feb 2022 17:07:06 +0000 (09:07 -0800)
committerBob Halley <halley@play-bow.org>
Sun, 27 Feb 2022 17:07:36 +0000 (09:07 -0800)
(cherry picked from commit 95045c5834732042b59f3fcc08f086e7cf139b22)

doc/name-class.rst
doc/rdata-class.rst

index 1a140811540f70bd7f09a78ffd92fdbc8cbac85e..cec5d46beca7c09be08c347c000bb754a06a35e0 100644 (file)
@@ -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''])``.
index a7308fa9f8ef60617522bf616ee3f699fd899825..cdebaa80cf66cd36b47db25e0dc30310edf98571 100644 (file)
@@ -39,3 +39,4 @@ future behavior to be tested with existing code.
 
 .. autoclass:: dns.rdata.Rdata
    :members:
+   :inherited-members: