From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Fri, 21 Nov 2025 20:47:36 +0000 (-0500) Subject: docs: Add :py:func:`...` annotations (#1238) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f299d70bb263b6018c353d453bdeab67ec9da08;p=thirdparty%2Fdnspython.git docs: Add :py:func:`...` annotations (#1238) Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/dns/message.py b/dns/message.py index bbfccfc7..711370d9 100644 --- a/dns/message.py +++ b/dns/message.py @@ -1780,8 +1780,8 @@ def make_query( default is ``None``. If ``None``, EDNS will be enabled only if other parameters (*ednsflags*, *payload*, *request_payload*, or *options*) are set. - See the description of dns.message.Message.use_edns() for the possible - values for use_edns and their meanings. + See the description of :py:func:`dns.message.Message.use_edns()` for the + possible values for use_edns and their meanings. *want_dnssec*, a ``bool``. If ``True``, DNSSEC data is desired. diff --git a/dns/resolver.py b/dns/resolver.py index 3ca2da51..6bcbb5d5 100644 --- a/dns/resolver.py +++ b/dns/resolver.py @@ -1360,8 +1360,8 @@ class Resolver(BaseResolver): This method calls resolve() with ``search=True``, and is provided for backwards compatibility with prior versions of - dnspython. See the documentation for the resolve() method for - further details. + dnspython. See the documentation for the + :py:func:`dns.resolver.Resolver.resolve()` method for further details. """ warnings.warn( "please use dns.resolver.Resolver.resolve() instead", @@ -1596,8 +1596,8 @@ def query( This method calls resolve() with ``search=True``, and is provided for backwards compatibility with prior versions of - dnspython. See the documentation for the resolve() method for - further details. + dnspython. See the documentation for the + :py:func:`dns.resolver.resolve()` method for further details. """ warnings.warn( "please use dns.resolver.resolve() instead", DeprecationWarning, stacklevel=2