Fix Py2 hashlib.new arg type (#157)

This commit is contained in:
Linjie Ding
2016-04-22 15:35:47 -07:00
committed by Guido van Rossum
parent f5f349ca8f
commit 0f67b2a675

View File

@@ -11,7 +11,7 @@ class _hash(object):
def hexdigest(self) -> str: ...
def copy(self) -> _hash: ...
def new(algo: str = ...) -> _hash: ...
def new(name: str, data: str = ...) -> _hash: ...
def md5(s: str = ...) -> _hash: ...
def sha1(s: str = ...) -> _hash: ...