Skip to content

Commit 8841e07

Browse files
committed
Merge pull request #26 from dkg/dev
minor docs cleanup
2 parents ab99ba7 + 9158cf2 commit 8841e07

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/functions.rst

Lines changed: 4 additions & 4 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)
@@ -190,11 +190,11 @@ as its methods and attributes.
190190

191191
.. py:method:: address(name, [extensions], [userarg], [transaction_id], [callback])
192192
193-
There are three critical differences between
193+
There are two critical differences between
194194
``Context.address()`` and ``Context.general()`` beyond the missing
195195
*request_type* argument:
196196

197-
* In ``getdns.address()``, the name argument can only take a host name.
197+
* In ``Context.address()``, the name argument can only take a host name.
198198
* ``Context.address()`` always uses all of namespaces from the
199199
context (to better emulate getaddrinfo()), while ``Context.general()`` only uses the DNS namespace.
200200

@@ -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)