Files
typeshed/stdlib/2/md5.pyi
Matthias Kramm 8b50522273 md5.md5(string) (#1119)
* md5.md5(string)

* switch md5 from str to AnyStr, add missing constants

* add missing import

* digest() and hexdigest() never return unicode

* make md5.md5 an alias of, and fix, hashlib_hash

* remove unnecessary import

* fix duplicate block_size

* md5.md5 and md5.new are aliases for hashlib.md5
2017-04-02 15:01:17 -07:00

7 lines
116 B
Python

# Stubs for Python 2.7 md5 stdlib module
from hashlib import md5 as md5, md5 as new
blocksize = 0
digest_size = 0