]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Fix documentation formatting.
authorBrian Wellington <bwelling@xbill.org>
Mon, 11 May 2020 16:18:26 +0000 (09:18 -0700)
committerBrian Wellington <bwelling@xbill.org>
Mon, 11 May 2020 16:18:26 +0000 (09:18 -0700)
dns/dnssec.py

index 4b392dcdd27e6c8b5c1e71b899e1158499430085..bf5ce1e8556d8dbc6fa4342137b9293e42e2ea25 100644 (file)
@@ -168,11 +168,11 @@ def make_ds(name, key, algorithm, origin=None):
     *key*, a ``dns.rdtypes.ANY.DNSKEY.DNSKEY``, the key the DS is about.
 
     *algorithm*, a ``str`` specifying the hash algorithm.
-      The currently supported hashes are "SHA1", "SHA256", and "SHA384". Case
-      does not matter for these strings.
+    The currently supported hashes are "SHA1", "SHA256", and "SHA384". Case
+    does not matter for these strings.
 
-    *origin*, a ``dns.name.Name`` or ``None``, if `key` is a relative name,
-      then it will be made absolute using the specified origin.
+    *origin*, a ``dns.name.Name`` or ``None``.  If `key` is a relative name,
+    then it will be made absolute using the specified origin.
 
     Raises ``UnsupportedAlgorithm`` if the algorithm is unknown.