aboutsummaryrefslogtreecommitdiff
path: root/contrib/python/docs/source/examples
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/python/docs/source/examples')
-rw-r--r--contrib/python/docs/source/examples/example1.rst2
-rw-r--r--contrib/python/docs/source/examples/example8.rst6
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/python/docs/source/examples/example1.rst b/contrib/python/docs/source/examples/example1.rst
index b44141759f5a..891e0853f85c 100644
--- a/contrib/python/docs/source/examples/example1.rst
+++ b/contrib/python/docs/source/examples/example1.rst
@@ -50,7 +50,7 @@ In the third step we tell the resolver to query for our domain, type MX, of clas
pkt = resolver.query(dname, ldns.LDNS_RR_TYPE_MX, ldns.LDNS_RR_CLASS_IN, ldns.LDNS_RD)
The function should return a packet if everything goes well and this packet will contain resource records we asked for.
-Note that there exists a simplier way. Instead of using a dname variable, we can use a string which will be automatically converted.
+Note that there exists a simpler way. Instead of using a dname variable, we can use a string which will be automatically converted.
::
pkt = resolver.query("fit.vutbr.cz", ldns.LDNS_RR_TYPE_MX, ldns.LDNS_RR_CLASS_IN, ldns.LDNS_RD)
diff --git a/contrib/python/docs/source/examples/example8.rst b/contrib/python/docs/source/examples/example8.rst
index 6fc550a86045..2cd1daf2dd47 100644
--- a/contrib/python/docs/source/examples/example8.rst
+++ b/contrib/python/docs/source/examples/example8.rst
@@ -10,8 +10,8 @@ In order to be able sign a zone file, you have to generate a key-pair using ``ld
Signing consists of three steps
-1. In the first step, the content of a zone file is readed and parsed. This can be done using :class:`ldns.ldns_zone` class.
+1. In the first step, the content of a zone file is read and parsed. This can be done using :class:`ldns.ldns_zone` class.
-2. In the second step, the private and public key is readed and public key is inserted into zone (as DNSKEY).
+2. In the second step, the private and public key is read and public key is inserted into zone (as DNSKEY).
-3. In the last step, the DNSSEC zone instace is created and all the RRs from zone file are copied here. Then, all the records are signed using :meth:`ldns.ldns_zone.sign` method. If the signing was successfull, the content of DNSSEC zone is written to a file.
+3. In the last step, the DNSSEC zone instance is created and all the RRs from zone file are copied here. Then, all the records are signed using :meth:`ldns.ldns_zone.sign` method. If the signing was successful, the content of DNSSEC zone is written to a file.