Skip to content

Commit 329dedf

Browse files
committed
clarify documentation about PTR lookup
1 parent ab99ba7 commit 329dedf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/functions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ as its methods and attributes.
176176
DNS record. The keyword arguments are:
177177

178178
* ``name``: a representation of the query term; usually a
179-
string but must be a dict (as described below) in the
179+
string but must be a dict (as described in ``Context.hostname()`` below) in the
180180
case of a PTR record lookup
181181
* ``request_type``: a DNS RR type as a getdns constant
182182
(listed here)
@@ -205,7 +205,7 @@ as its methods and attributes.
205205

206206
* ``address_type``: must be a string matching either "IPv4"
207207
or "IPv6"
208-
* ``address_type``: a string representation of an IPv4 or
208+
* ``address_data``: a string representation of an IPv4 or
209209
IPv6 IP address
210210

211211
.. py:method:: service(name [, extensions], [userarg], [transaction_id], [callback])

0 commit comments

Comments
 (0)