diff options
author | Bob Halley <halley@dnspython.org> | 2022-02-27 09:07:06 -0800 |
---|---|---|
committer | Bob Halley <halley@play-bow.org> | 2022-02-27 09:07:36 -0800 |
commit | 4704db2798515184d169f4b73783a7f7724d9407 (patch) | |
tree | 55ab9bd0e6b99ba2317d69ec46cead6e12c14ca7 | |
parent | 004c2aad2854813038f6b49f0b13295fa55aa390 (diff) | |
download | dnspython-4704db2798515184d169f4b73783a7f7724d9407.tar.gz |
fix documentation broken by the immutable mechanism
(cherry picked from commit 95045c5834732042b59f3fcc08f086e7cf139b22)
-rw-r--r-- | doc/name-class.rst | 5 | ||||
-rw-r--r-- | doc/rdata-class.rst | 1 |
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: |