From: Brian Wellington Date: Mon, 11 May 2020 16:18:26 +0000 (-0700) Subject: Fix documentation formatting. X-Git-Tag: v2.0.0rc1~227 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ca10f86409214d945545b1905cdaf2e38384dcd;p=thirdparty%2Fdnspython.git Fix documentation formatting. --- diff --git a/dns/dnssec.py b/dns/dnssec.py index 4b392dcd..bf5ce1e8 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.