diff options
author | Bob Halley <halley@dnspython.org> | 2006-08-15 23:37:20 +0000 |
---|---|---|
committer | Bob Halley <halley@dnspython.org> | 2006-08-15 23:37:20 +0000 |
commit | 602fa86698771fdc86158e9924c21675ef5fd642 (patch) | |
tree | c2af635e9347480c06fa399d76ff83e67a519273 | |
parent | 3793f754a39cecc834a73c5a35e48c1439e40819 (diff) | |
download | dnspython-602fa86698771fdc86158e9924c21675ef5fd642.tar.gz |
fix various doco errors (thanks Brian!)
-rw-r--r-- | dns/inet.py | 2 | ||||
-rw-r--r-- | dns/rrset.py | 2 | ||||
-rw-r--r-- | dns/zone.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/dns/inet.py b/dns/inet.py index 36cd290..7dd01f1 100644 --- a/dns/inet.py +++ b/dns/inet.py @@ -77,7 +77,7 @@ def af_for_address(text): @param text: the textual address @type text: string @raises ValueError: the address family cannot be determined from the input. - @rtype int + @rtype: int """ try: junk = dns.ipv4.inet_aton(text) diff --git a/dns/rrset.py b/dns/rrset.py index 185ec6e..934ad57 100644 --- a/dns/rrset.py +++ b/dns/rrset.py @@ -110,7 +110,7 @@ class RRset(dns.rdataset.Rdataset): def to_rdataset(self): """Convert an RRset into an Rdataset. - #rtype: dns.rdataset.Rdataset object + @rtype: dns.rdataset.Rdataset object """ return dns.rdataset.from_rdata_list(self.ttl, list(self)) diff --git a/dns/zone.py b/dns/zone.py index e9f17c3..e4eb7e1 100644 --- a/dns/zone.py +++ b/dns/zone.py @@ -167,7 +167,7 @@ class Zone(object): @param create: should the node be created if it doesn't exist? @type create: bool @raises KeyError: the name is not known and create was not specified. - @rtype dns.node.Node object + @rtype: dns.node.Node object """ name = self._validate_name(name) @@ -190,7 +190,7 @@ class Zone(object): @type name: dns.name.Name object or string @param create: should the node be created if it doesn't exist? @type create: bool - @rtype dns.node.Node object or None + @rtype: dns.node.Node object or None """ try: |