Merge pull request #14 from aziascreations/master

Added reference to attributes from parent module in CPython
This commit is contained in:
foamyguy 2022-01-16 11:17:41 -06:00 committed by GitHub
commit 7eac29a889
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,8 @@ Implementation Notes
https://github.com/adafruit/circuitpython/releases
"""
try:
import hashlib
from hashlib import md5, sha1, sha224, sha256, sha512
from hashlib import sha3_384 as sha384
except ImportError:
from adafruit_hashlib._sha256 import sha224, sha256
from adafruit_hashlib._sha512 import sha384, sha512