mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00
Adds the hashlib.algorithms attribute. See issue7418.
This commit is contained in:
parent
9e5d1327f8
commit
e6390a1503
3 changed files with 17 additions and 1 deletions
|
@ -58,7 +58,9 @@ More condensed:
|
|||
# always available algorithm is added.
|
||||
__always_supported = ('md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512')
|
||||
|
||||
__all__ = __always_supported + ('new',)
|
||||
algorithms = __always_supported
|
||||
|
||||
__all__ = __always_supported + ('new', 'algorithms')
|
||||
|
||||
|
||||
def __get_builtin_constructor(name):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue