summaryrefslogtreecommitdiff
path: root/dns/dnssec.py
diff options
context:
space:
mode:
authorBrian Wellington <bwelling@xbill.org>2020-05-11 09:18:26 -0700
committerBrian Wellington <bwelling@xbill.org>2020-05-11 09:18:26 -0700
commit8ca10f86409214d945545b1905cdaf2e38384dcd (patch)
treeb8cb688b5c284add733e9f729fe45db7fd6d8b70 /dns/dnssec.py
parentba3b801f4d09975f676dfb28ef114f4ab16d6bd2 (diff)
downloaddnspython-8ca10f86409214d945545b1905cdaf2e38384dcd.tar.gz
Fix documentation formatting.
Diffstat (limited to 'dns/dnssec.py')
-rw-r--r--dns/dnssec.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/dns/dnssec.py b/dns/dnssec.py
index 4b392dc..bf5ce1e 100644
--- a/dns/dnssec.py
+++ b/dns/dnssec.py
@@ -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.