summaryrefslogtreecommitdiff
path: root/dns/rdataset.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/rdataset.py
parent7978b59fbf96b933287adfa5e160c5ee9270dbc5 (diff)
downloaddnspython-d51cd470243441b5be02eddbed6692b103f0f014.tar.gz
continue doco overhaul
Diffstat (limited to 'dns/rdataset.py')
-rw-r--r--dns/rdataset.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/dns/rdataset.py b/dns/rdataset.py
index db266f2..9f0825e 100644
--- a/dns/rdataset.py
+++ b/dns/rdataset.py
@@ -285,7 +285,7 @@ def from_text_list(rdclass, rdtype, ttl, text_rdatas):
"""Create an rdataset with the specified class, type, and TTL, and with
the specified list of rdatas in text format.
- @rtype: dns.rdataset.Rdataset object
+ Returns a ``dns.rdataset.Rdataset`` object.
"""
if isinstance(rdclass, string_types):
@@ -304,7 +304,7 @@ def from_text(rdclass, rdtype, ttl, *text_rdatas):
"""Create an rdataset with the specified class, type, and TTL, and with
the specified rdatas in text format.
- @rtype: dns.rdataset.Rdataset object
+ Returns a ``dns.rdataset.Rdataset`` object.
"""
return from_text_list(rdclass, rdtype, ttl, text_rdatas)
@@ -314,7 +314,7 @@ def from_rdata_list(ttl, rdatas):
"""Create an rdataset with the specified TTL, and with
the specified list of rdata objects.
- @rtype: dns.rdataset.Rdataset object
+ Returns a ``dns.rdataset.Rdataset`` object.
"""
if len(rdatas) == 0:
@@ -332,7 +332,7 @@ def from_rdata(ttl, *rdatas):
"""Create an rdataset with the specified TTL, and with
the specified rdata objects.
- @rtype: dns.rdataset.Rdataset object
+ Returns a ``dns.rdataset.Rdataset`` object.
"""
return from_rdata_list(ttl, rdatas)