From: Daniel Kahn Gillmor Date: Thu, 14 Apr 2022 01:34:24 +0000 (-0700) Subject: contrib/python: fix misspellings X-Git-Tag: 1.8.2-rc.1~15^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58a83d912e61c296dbd83983617961886324c1c3;p=thirdparty%2Fldns.git contrib/python: fix misspellings --- diff --git a/contrib/python/docs/source/install.rst b/contrib/python/docs/source/install.rst index 03d0f53f..27bf0765 100644 --- a/contrib/python/docs/source/install.rst +++ b/contrib/python/docs/source/install.rst @@ -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/ diff --git a/contrib/python/examples/test_dname.py b/contrib/python/examples/test_dname.py index 33237467..4603543f 100755 --- a/contrib/python/examples/test_dname.py +++ b/contrib/python/examples/test_dname.py @@ -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: diff --git a/contrib/python/ldns_resolver.i b/contrib/python/ldns_resolver.i index afe3eeb6..8468cce3 100644 --- a/contrib/python/ldns_resolver.i +++ b/contrib/python/ldns_resolver.i @@ -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. diff --git a/contrib/python/ldns_zone.i b/contrib/python/ldns_zone.i index db7dd3c7..bbb8d8f2 100644 --- a/contrib/python/ldns_zone.i +++ b/contrib/python/ldns_zone.i @@ -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 *,