Skip to content

Commit 39332eb

Browse files
committed
fix hashlib.new() documentation comment
1 parent c1bd53d commit 39332eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/hashlib/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
//|
2121
//| def new(name: str, data: bytes = b"") -> hashlib.Hash:
2222
//| """Returns a Hash object setup for the named algorithm. Raises ValueError when the named
23-
//| algorithm is unsupported.
23+
//| algorithm is unsupported. Supported algorithms for ``name`` are ``'sha1`` and ``'sha256'``.
2424
//|
2525
//| :return: a hash object for the given algorithm
2626
//| :rtype: hashlib.Hash"""

0 commit comments

Comments
 (0)