]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
docs: Add :py:func:`...` annotations (#1238)
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Fri, 21 Nov 2025 20:47:36 +0000 (15:47 -0500)
committerGitHub <noreply@github.com>
Fri, 21 Nov 2025 20:47:36 +0000 (12:47 -0800)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
dns/message.py
dns/resolver.py

index bbfccfc7ad0e9efd1733d5a5358593d125932a9b..711370d93a9481fad0535369468fd66a4e966169 100644 (file)
@@ -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.
 
index 3ca2da51e38fd97644cd8c9adb2db0c310d0c55c..6bcbb5d5eddcd628745198df73a95480e268c0da 100644 (file)
@@ -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