]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
docs: fix enum module name for udp_mode (#1187)
authorPatrick Evans <31580846+holysoles@users.noreply.github.com>
Wed, 26 Mar 2025 13:23:18 +0000 (13:23 +0000)
committerGitHub <noreply@github.com>
Wed, 26 Mar 2025 13:23:18 +0000 (06:23 -0700)
dns/query.py

index e4f7ac680b680d5edce2dc2b90445c7f802a8a56..3a5cc18c545157bf3efdb47664b01632c658198c 100644 (file)
@@ -1668,10 +1668,10 @@ def inbound_xfr(
     The default is 0.
 
     *udp_mode*, a ``dns.query.UDPMode``, determines how UDP is used
-    for IXFRs.  The default is ``dns.UDPMode.NEVER``, i.e. only use
-    TCP.  Other possibilities are ``dns.UDPMode.TRY_FIRST``, which
+    for IXFRs.  The default is ``dns.query.UDPMode.NEVER``, i.e. only use
+    TCP.  Other possibilities are ``dns.query.UDPMode.TRY_FIRST``, which
     means "try UDP but fallback to TCP if needed", and
-    ``dns.UDPMode.ONLY``, which means "try UDP and raise
+    ``dns.query.UDPMode.ONLY``, which means "try UDP and raise
     ``dns.xfr.UseTCP`` if it does not succeed.
 
     Raises on errors.