From: Brian Wellington Date: Mon, 11 May 2020 16:04:08 +0000 (-0700) Subject: Fix documentation cut and paste error. X-Git-Tag: v2.0.0rc1~229 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c2551288a7cddf4a838e3224c1dea662a0211f7;p=thirdparty%2Fdnspython.git Fix documentation cut and paste error. --- diff --git a/dns/query.py b/dns/query.py index 4559ba13..bae01360 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.