Fix Py2 hashlib.new arg type (#157)

This commit is contained in:
Linjie Ding authored and Guido van Rossum committed 2016-04-22 15:35:47 -07:00
1 parent f5f349ca8f
commit 0f67b2a675
1 file changed
+1 -1
+1 -1
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: ...