Skip to content

Commit 8f299d7

Browse files
authored
docs: Add :py:func:... annotations (#1238)
Signed-off-by: Josh Soref <[email protected]>
1 parent f33789b commit 8f299d7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

dns/message.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1780,8 +1780,8 @@ def make_query(
17801780
default is ``None``. If ``None``, EDNS will be enabled only if other
17811781
parameters (*ednsflags*, *payload*, *request_payload*, or *options*) are
17821782
set.
1783-
See the description of dns.message.Message.use_edns() for the possible
1784-
values for use_edns and their meanings.
1783+
See the description of :py:func:`dns.message.Message.use_edns()` for the
1784+
possible values for use_edns and their meanings.
17851785
17861786
*want_dnssec*, a ``bool``. If ``True``, DNSSEC data is desired.
17871787

dns/resolver.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,8 +1360,8 @@ def query(
13601360
13611361
This method calls resolve() with ``search=True``, and is
13621362
provided for backwards compatibility with prior versions of
1363-
dnspython. See the documentation for the resolve() method for
1364-
further details.
1363+
dnspython. See the documentation for the
1364+
:py:func:`dns.resolver.Resolver.resolve()` method for further details.
13651365
"""
13661366
warnings.warn(
13671367
"please use dns.resolver.Resolver.resolve() instead",
@@ -1596,8 +1596,8 @@ def query(
15961596
15971597
This method calls resolve() with ``search=True``, and is
15981598
provided for backwards compatibility with prior versions of
1599-
dnspython. See the documentation for the resolve() method for
1600-
further details.
1599+
dnspython. See the documentation for the
1600+
:py:func:`dns.resolver.resolve()` method for further details.
16011601
"""
16021602
warnings.warn(
16031603
"please use dns.resolver.resolve() instead", DeprecationWarning, stacklevel=2

0 commit comments

Comments
 (0)