From: Bob Halley Date: Sun, 27 Feb 2022 17:07:06 +0000 (-0800) Subject: fix documentation broken by the immutable mechanism X-Git-Tag: v2.3.0rc1~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95045c5834732042b59f3fcc08f086e7cf139b22;p=thirdparty%2Fdnspython.git fix documentation broken by the immutable mechanism --- diff --git a/doc/name-class.rst b/doc/name-class.rst index 1a140811..cec5d46b 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 a7308fa9..cdebaa80 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: