]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
improve documentation of "where" parameter
authorBob Halley <halley@dnspython.org>
Fri, 2 Sep 2005 05:33:08 +0000 (05:33 +0000)
committerBob Halley <halley@dnspython.org>
Fri, 2 Sep 2005 05:33:08 +0000 (05:33 +0000)
Original author: Bob Halley <halley@dnspython.org>
Date: 2005-06-05 16:17:36

dns/query.py

index c815bde30355c078bf52f0897e96791d83440101..f55de66b3014d5f36047f60cf0664d32e095efad 100644 (file)
@@ -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