Skip to content

Commit 8c0d596

Browse files
authored
Merge pull request #10784 from fearnoeval/hashlib-docstring-fix
Add missing quote in `hashlib.new` docstring
2 parents 57aec3a + 4826204 commit 8c0d596

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. Supported algorithms for ``name`` are ``'sha1`` and ``'sha256'``.
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)