mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
* 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
7 lines
116 B
Python
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
|