Skip to content

Commit 9158cf2

Browse files
committed
correct docs about address() and general()
1 parent 329dedf commit 9158cf2

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

0 commit comments

Comments
 (0)