summaryrefslogtreecommitdiff
path: root/dns/rrset.py
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2017-01-10 14:56:57 -0800
committerBob Halley <halley@dnspython.org>2017-01-10 14:56:57 -0800
commitd51cd470243441b5be02eddbed6692b103f0f014 (patch)
treee7df92fe5c7c365071e141878430906af7932cdd /dns/rrset.py
parent7978b59fbf96b933287adfa5e160c5ee9270dbc5 (diff)
downloaddnspython-d51cd470243441b5be02eddbed6692b103f0f014.tar.gz
continue doco overhaul
Diffstat (limited to 'dns/rrset.py')
-rw-r--r--dns/rrset.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/dns/rrset.py b/dns/rrset.py
index d0f8f93..3008645 100644
--- a/dns/rrset.py
+++ b/dns/rrset.py
@@ -124,7 +124,7 @@ def from_text_list(name, ttl, rdclass, rdtype, text_rdatas,
"""Create an RRset with the specified name, TTL, class, and type, and with
the specified list of rdatas in text format.
- @rtype: dns.rrset.RRset object
+ Returns a ``dns.rrset.RRset`` object.
"""
if isinstance(name, string_types):
@@ -145,7 +145,7 @@ def from_text(name, ttl, rdclass, rdtype, *text_rdatas):
"""Create an RRset with the specified name, TTL, class, and type and with
the specified rdatas in text format.
- @rtype: dns.rrset.RRset object
+ Returns a ``dns.rrset.RRset`` object.
"""
return from_text_list(name, ttl, rdclass, rdtype, text_rdatas)
@@ -155,7 +155,7 @@ def from_rdata_list(name, ttl, rdatas, idna_codec=None):
"""Create an RRset with the specified name and TTL, and with
the specified list of rdata objects.
- @rtype: dns.rrset.RRset object
+ Returns a ``dns.rrset.RRset`` object.
"""
if isinstance(name, string_types):
@@ -176,7 +176,7 @@ def from_rdata(name, ttl, *rdatas):
"""Create an RRset with the specified name and TTL, and with
the specified rdata objects.
- @rtype: dns.rrset.RRset object
+ Returns a ``dns.rrset.RRset`` object.
"""
return from_rdata_list(name, ttl, rdatas)