summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2005-09-02 05:22:15 +0000
committerBob Halley <halley@dnspython.org>2005-09-02 05:22:15 +0000
commite163f6673e47268575741f377592847df97196df (patch)
treecd46c6d09027910001b54d9514efe6bcc62a2700
parentdf24d7e7fe18b2a4cd79c35d1c2efbb3e7ee5abc (diff)
downloaddnspython-e163f6673e47268575741f377592847df97196df.tar.gz
Add documentation for where parameter in dns.query.*
Original author: Bob Halley <halley@dnspython.org> Date: 2004-03-25 04:55:28
-rw-r--r--dns/query.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/dns/query.py b/dns/query.py
index e09b94d..9cc9cf7 100644
--- a/dns/query.py
+++ b/dns/query.py
@@ -71,6 +71,8 @@ def udp(q, where, timeout=None, port=53, af=socket.AF_INET):
@param q: the query
@type q: dns.message.Message
+ @param where: where to send the message
+ @type where: string
@param timeout: The number of seconds to wait before the query times out.
If None, the default, wait forever.
@type timeout: float
@@ -138,6 +140,8 @@ def tcp(q, where, timeout=None, port=53, af=socket.AF_INET):
@param q: the query
@type q: dns.message.Message object
+ @param where: where to send the message
+ @type where: string
@param timeout: The number of seconds to wait before the query times out.
If None, the default, wait forever.
@type timeout: float
@@ -176,6 +180,8 @@ def xfr(where, zone, rdtype=dns.rdatatype.AXFR, rdclass=dns.rdataclass.IN,
af=socket.AF_INET, lifetime=None):
"""Return a generator for the responses to a zone transfer.
+ @param where: where to send the message
+ @type where: string
@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