Commit Graph

4 Commits

Author SHA1 Message Date
Jelle Zijlstra
5d553c9584 apply black and isort (#4287)
* apply black and isort

* move some type ignores
2020-06-28 13:31:00 -07:00
Sebastian Rittau
87d7dd3d95 Fix annotations with literal values (#3411) 2019-10-28 06:59:28 -07:00
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
Guido van Rossum
cb97bb54c0 Move 2.7 to 2 (#635)
Closes #579.
2016-10-26 16:24:49 -07:00