]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Fix documentation typos.
authorBrian Wellington <bwelling@xbill.org>
Mon, 11 May 2020 16:03:46 +0000 (09:03 -0700)
committerBrian Wellington <bwelling@xbill.org>
Mon, 11 May 2020 16:03:46 +0000 (09:03 -0700)
dns/rcode.py
dns/zone.py
doc/name-class.rst
doc/name.rst

index 85f8c2cb824497d5fa5fbe1bfde01faec0f82316..e7c1f282018f376d64219cce031c799b2cd55d3a 100644 (file)
@@ -21,7 +21,7 @@ import dns.exception
 
 #: No error
 NOERROR = 0
-#: Form error
+#: Format error
 FORMERR = 1
 #: Server failure
 SERVFAIL = 2
index c482763f8fc22f424d7f21db84e88d220198d483..2a3f34a0004522a009181ec802a21d2b7ccc6038 100644 (file)
@@ -63,7 +63,7 @@ class Zone(object):
     A ``Zone`` is a mapping from names to nodes.  The zone object may be
     treated like a Python dictionary, e.g. ``zone[name]`` will retrieve
     the node associated with that name.  The *name* may be a
-    ``dns.name.Name object``, or it may be a string.  In the either case,
+    ``dns.name.Name object``, or it may be a string.  In either case,
     if the name is relative it is treated as relative to the origin of
     the zone.
     """
index 35276ed8769e69180788a6f78541ecc241947fc1..1a140811540f70bd7f09a78ffd92fdbc8cbac85e 100644 (file)
@@ -9,7 +9,7 @@ The dns.name.Name Class and Predefined Names
    .. attribute:: labels
 
       A tuple of ``bytes`` in DNS wire format specifying the DNS
-      labels in the name, in order from least-signficiant label
+      labels in the name, in order from least-significant label
       (i.e. farthest from the origin) to most-significant label.
 
 .. data:: dns.name.root
index 0cda588adaaba84cbc9dcef92a2c489dead8fda6..d97c041a3032b0e95de10dcdd1a39a79caf33eb3 100644 (file)
@@ -5,7 +5,7 @@ DNS Names
 =========
 
 Objects of the dns.name.Name class represent an immutable domain name.
-The representation is a tuple of labels, with each lable being a ``bytes``
+The representation is a tuple of labels, with each label being a ``bytes``
 object in the DNS wire format.  Typically names are not created by
 supplying the labels tuple directly, but rather by converting from DNS
 text format or the DNS wire format.