Merge pull request #14 from aziascreations/master
Added reference to attributes from parent module in CPython
This commit is contained in:
commit
7eac29a889
1 changed files with 2 additions and 1 deletions
|
|
@ -23,7 +23,8 @@ Implementation Notes
|
||||||
https://github.com/adafruit/circuitpython/releases
|
https://github.com/adafruit/circuitpython/releases
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
import hashlib
|
from hashlib import md5, sha1, sha224, sha256, sha512
|
||||||
|
from hashlib import sha3_384 as sha384
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from adafruit_hashlib._sha256 import sha224, sha256
|
from adafruit_hashlib._sha256 import sha224, sha256
|
||||||
from adafruit_hashlib._sha512 import sha384, sha512
|
from adafruit_hashlib._sha512 import sha384, sha512
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue