@@ -71,7 +71,7 @@ In addition to the above, the following constraints are placed on the API:
7171 URL.
7272
7373* Repositories **SHOULD ** choose a hash function from one of the ones
74- guaranteed to be available via the `` hashlib ` ` module in the Python standard
74+ guaranteed to be available via the :py:mod: ` hashlib ` module in the Python standard
7575 library (currently ``md5 ``, ``sha1 ``, ``sha224 ``, ``sha256 ``, ``sha384 ``,
7676 ``sha512 ``). The current recommendation is to use ``sha256 ``.
7777
@@ -452,11 +452,10 @@ Each individual file dictionary has the following keys:
452452 for the file, however it is **HIGHLY ** recommended that at least one secure,
453453 guaranteed-to-be-available hash is always included.
454454
455- By default, any hash algorithm available via `hashlib
456- <https://docs.python.org/3/library/hashlib.html> `_ (specifically any that can
457- be passed to ``hashlib.new() `` and do not require additional parameters) can
455+ By default, any hash algorithm available via :py:mod: `hashlib ` (specifically any that can
456+ be passed to :py:func: `hashlib.new() ` and do not require additional parameters) can
458457 be used as a key for the hashes dictionary. At least one secure algorithm from
459- `` hashlib.algorithms_guaranteed ` ` **SHOULD ** always be included. At the time
458+ :py:data: ` hashlib.algorithms_guaranteed ` **SHOULD ** always be included. At the time
460459 of this spec, ``sha256 `` specifically is recommended.
461460- ``requires-python ``: An **optional ** key that exposes the
462461 :ref: `core-metadata-requires-python `
0 commit comments