summaryrefslogtreecommitdiff
path: root/dns/query.py
diff options
context:
space:
mode:
authorBrian Wellington <bwelling@xbill.org>2020-05-11 09:04:08 -0700
committerBrian Wellington <bwelling@xbill.org>2020-05-11 09:04:08 -0700
commit2c2551288a7cddf4a838e3224c1dea662a0211f7 (patch)
treed9cf9036b7686055a7196adc56ce884cc4d9ac44 /dns/query.py
parentf9cb271ba05007d693d3ed86b71a680599b5a46e (diff)
downloaddnspython-2c2551288a7cddf4a838e3224c1dea662a0211f7.tar.gz
Fix documentation cut and paste error.
Diffstat (limited to 'dns/query.py')
-rw-r--r--dns/query.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dns/query.py b/dns/query.py
index 4559ba1..bae0136 100644
--- a/dns/query.py
+++ b/dns/query.py
@@ -757,8 +757,8 @@ def xfr(where, zone, rdtype=dns.rdatatype.AXFR, rdclass=dns.rdataclass.IN,
use_udp=False, keyalgorithm=dns.tsig.default_algorithm):
"""Return a generator for the responses to a zone transfer.
- *where*. If the inference attempt fails, AF_INET is used. This
- parameter is historical; you need never set it.
+ *where*, a ``str`` containing an IPv4 or IPv6 address, where
+ to send the message.
*zone*, a ``dns.name.Name`` or ``str``, the name of the zone to transfer.