]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
doc: fixed typo
authorMarek Vavruša <marek.vavrusa@nic.cz>
Mon, 6 Jul 2015 14:17:06 +0000 (16:17 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Mon, 6 Jul 2015 14:17:50 +0000 (16:17 +0200)
daemon/README.rst

index 14b485bb49c33f9639a09dcd9a8aa856d97c79e0..ae2992ba375df4861fc3eaf482542ca79c12ff87 100644 (file)
@@ -514,11 +514,11 @@ you can see the statistics or schedule new queries.
 
        print(worker.stats().concurrent)
 
-.. function:: worker.resolve(qname, qtype[, qclass])
+.. function:: worker.resolve(qname, qtype[, qclass = kres.class.IN])
 
    :param string qname: Query name (e.g. 'com.')
-   :param string qtype: Query type (e.g. ``kres.type.NS``)
-   :param string qtype: Query class *(optional)* (e.g. ``kres.class.IN``)
+   :param number qtype: Query type (e.g. ``kres.type.NS``)
+   :param number qclass: Query class *(optional)* (e.g. ``kres.class.IN``)
    :return: boolean
 
    Resolve a query, there is currently no callback when its finished, but you can track the query