From: Bob Halley Date: Fri, 2 Sep 2005 05:33:08 +0000 (+0000) Subject: improve documentation of "where" parameter X-Git-Tag: v1.3.4~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1f4089657749ee3b825ab1a93a6e0c82c04ab34;p=thirdparty%2Fdnspython.git improve documentation of "where" parameter Original author: Bob Halley Date: 2005-06-05 16:17:36 --- diff --git a/dns/query.py b/dns/query.py index c815bde3..f55de66b 100644 --- a/dns/query.py +++ b/dns/query.py @@ -71,7 +71,7 @@ def udp(q, where, timeout=None, port=53, af=None): @param q: the query @type q: dns.message.Message @param where: where to send the message - @type where: string + @type where: string containing an IPv4 or IPv6 address @param timeout: The number of seconds to wait before the query times out. If None, the default, wait forever. @type timeout: float @@ -151,7 +151,7 @@ def tcp(q, where, timeout=None, port=53, af=None): @param q: the query @type q: dns.message.Message object @param where: where to send the message - @type where: string + @type where: string containing an IPv4 or IPv6 address @param timeout: The number of seconds to wait before the query times out. If None, the default, wait forever. @type timeout: float @@ -202,7 +202,7 @@ def xfr(where, zone, rdtype=dns.rdatatype.AXFR, rdclass=dns.rdataclass.IN, """Return a generator for the responses to a zone transfer. @param where: where to send the message - @type where: string + @type where: string containing an IPv4 or IPv6 address @param zone: The name of the zone to transfer @type zone: dns.name.Name object or string @param rdtype: The type of zone transfer. The default is