From: kimbo Date: Thu, 25 Jul 2019 00:11:00 +0000 (-0400) Subject: specify seconds for lifetime in Resolver.query() X-Git-Tag: v2.0.0rc1~363^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45afeb53fc9b3b068168d2cf70d54e9f5751f00e;p=thirdparty%2Fdnspython.git specify seconds for lifetime in Resolver.query() --- diff --git a/dns/resolver.py b/dns/resolver.py index 63326ffe..cecc3749 100644 --- a/dns/resolver.py +++ b/dns/resolver.py @@ -822,7 +822,7 @@ class Resolver(object): *source_port*, an ``int``, the port from which to send the message. - *lifetime*, a ``float``, how long query should run before timing out. + *lifetime*, a ``float``, how many seconds a query should run before timing out. Raises ``dns.exception.Timeout`` if no answers could be found in the specified lifetime.