From 6b3adea9a3a206538094a82a9ef2a96a16c39db6 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Mon, 8 Mar 2021 16:20:21 -0600 Subject: [PATCH] Fix doc references in unordered_hash --- pytools/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytools/__init__.py b/pytools/__init__.py index e7d2306..6330869 100644 --- a/pytools/__init__.py +++ b/pytools/__init__.py @@ -2618,8 +2618,8 @@ def unordered_hash(hash_constructor, iterable): depends on the entries of *iterable*, but not their order. If *hash* is the instance returned by evaluating ``hash_constructor()``, then the each entry *i* of the iterable must permit ``hash.upate(i)`` to - succeed. An example of *hash_constructor* is :class:`hashlib.sha256`. - ``hash.digest_size`` must also be defined. + succeed. An example of *hash_constructor* is ``hashlib.sha256`` + from :mod:`hashlib`. ``hash.digest_size`` must also be defined. .. warning:: -- GitLab