From: Paul Hoffman Date: Wed, 13 Oct 2021 21:19:11 +0000 (-0700) Subject: Moved "connected" to better spot X-Git-Tag: v2.2.0rc1~54^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9af2d209876b253b5defc0d6642e8c9f1af4c4d;p=thirdparty%2Fdnspython.git Moved "connected" to better spot --- diff --git a/dns/query.py b/dns/query.py index 6edc0d5e..fee5d6af 100644 --- a/dns/query.py +++ b/dns/query.py @@ -548,7 +548,7 @@ def udp_with_fallback(q, where, timeout=None, port=53, source=None, if a socket is provided, it must be a nonblocking datagram socket, and the *source* and *source_port* are ignored for the UDP query. - *tcp_sock*, a connected ``socket.socket``, or ``None``, the socket to use for the + *tcp_sock*, a ``socket.socket``, or ``None``, the connected socket to use for the TCP query. If ``None``, the default, a socket is created. Note that if a socket is provided, it must be a nonblocking connected stream socket, and *where*, *source* and *source_port* are ignored for the TCP @@ -702,7 +702,7 @@ def tcp(q, where, timeout=None, port=53, source=None, source_port=0, *ignore_trailing*, a ``bool``. If ``True``, ignore trailing junk at end of the received message. - *sock*, a connected ``socket.socket``, or ``None``, the socket to use for the + *sock*, a ``socket.socket``, or ``None``, the connected socket to use for the query. If ``None``, the default, a socket is created. Note that if a socket is provided, it must be a nonblocking connected stream socket, and *where*, *port*, *source* and *source_port* are ignored.