From 4704db2798515184d169f4b73783a7f7724d9407 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Sun, 27 Feb 2022 09:07:06 -0800 Subject: [PATCH] fix documentation broken by the immutable mechanism (cherry picked from commit 95045c5834732042b59f3fcc08f086e7cf139b22) --- doc/name-class.rst | 5 +++++ doc/rdata-class.rst | 1 + 2 files changed, 6 insertions(+) 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: -- 2.47.3