]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
contrib/python: fix misspellings
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 14 Apr 2022 01:34:24 +0000 (18:34 -0700)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 14 Apr 2022 01:34:24 +0000 (18:34 -0700)
contrib/python/docs/source/install.rst
contrib/python/examples/test_dname.py
contrib/python/ldns_resolver.i
contrib/python/ldns_zone.i

index 03d0f53facbf8b63d72e9d8cfca10b611bcaf962..27bf07652834fc666c2d55f9583074f418897f32 100644 (file)
@@ -14,7 +14,7 @@ is required.
 
 **Download**
 
-The lates source codes can be downloaded from `here`_.
+The latest source codes can be downloaded from `here`_.
 
 .. _here: http://nlnetlabs.nl/projects/ldns/
 
index 33237467a6a38e60d0f6913cdeddda54aeab5692..4603543f1b31a338dc925d8227c47ddfddbb244d 100755 (executable)
@@ -44,7 +44,7 @@ if True:
     except:
         set_error()
     #
-    # Error when printing a dname wich was created from an empty string.
+    # Error when printing a dname which was created from an empty string.
     # Must find out why.
     #
     try:
index afe3eeb62e371b82b88e070eb61f6c0f674dba79..8468cce3819ba924bb523deb719024c861ca20e6 100644 (file)
@@ -350,7 +350,7 @@ record."
                Creates a resolver object from given file name
                
                :param filename: Name of file which contains resolver
-                   informations (usually /etc/resolv.conf).
+                   information (usually /etc/resolv.conf).
                :type filename: str
                :param raiseException: If True, an exception occurs in case a
                    resolver object can't be created.
index db7dd3c7eec1663a3618e76b3e594b9cb44d733f..bbb8d8f21aebf4b2269f7a1987d64b2a4922079c 100644 (file)
@@ -216,7 +216,7 @@ The ``zone.txt`` file contains the following records::
                
                :param rr:
                    the rr to add
-               :returns: (bool) a true on succes otherwise falsed
+               :returns: (bool) a true on success otherwise falsed
             """
             return _ldns.ldns_zone_push_rr(self,rr)
             #parameters: ldns_zone *,ldns_rr *,
@@ -229,7 +229,7 @@ The ``zone.txt`` file contains the following records::
                
                :param list:
                    the list to add
-               :returns: (bool) a true on succes otherwise falsed
+               :returns: (bool) a true on success otherwise falsed
             """
             return _ldns.ldns_zone_push_rr_list(self,list)
             #parameters: ldns_zone *,ldns_rr_list *,