From 45afeb53fc9b3b068168d2cf70d54e9f5751f00e Mon Sep 17 00:00:00 2001 From: kimbo Date: Wed, 24 Jul 2019 20:11:00 -0400 Subject: [PATCH] specify seconds for lifetime in Resolver.query() --- dns/resolver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.47.3