From 60f53c5905ca0337f09dc998932c5b95bfc8f2b1 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Mon, 11 May 2020 12:34:42 -0700 Subject: [PATCH] Resolver docs fixes. --- doc/resolver-class.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/resolver-class.rst b/doc/resolver-class.rst index d0159a52..58ab332e 100644 --- a/doc/resolver-class.rst +++ b/doc/resolver-class.rst @@ -43,7 +43,7 @@ The dns.resolver.Resolver and dns.resolver.Answer Classes answer to the question. If the lifetime expires a ``dns.exception.Timeout`` exception will be raised. - .. attribute:: cache: + .. attribute:: cache An object implementing the caching protocol, e.g. a ``dns.resolver.Cache`` or a ``dns.resolver.LRUCache``. The default @@ -72,7 +72,10 @@ The dns.resolver.Resolver and dns.resolver.Answer Classes .. attribute:: keyalgorithm A ``dns.name.Name`` or ``str``, the TSIG algorithm to use. - *edns*, an ``int``, is the EDNS level to use. Specifying + + .. attribute:: edns + + An ``int``, the EDNS level to use. Specifying ``None``, ``False``, or ``-1`` means "do not use EDNS", and in this case the other parameters are ignored. Specifying ``True`` is equivalent to specifying 0, i.e. "use EDNS0". -- 2.47.3