From 0f67b2a675f2a911acc47b5d815d02613d7dece0 Mon Sep 17 00:00:00 2001 From: Linjie Ding Date: Fri, 22 Apr 2016 15:35:47 -0700 Subject: [PATCH] Fix Py2 hashlib.new arg type (#157) --- stdlib/2.7/hashlib.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/2.7/hashlib.pyi b/stdlib/2.7/hashlib.pyi index dd7edd320..95f2b82f6 100644 --- a/stdlib/2.7/hashlib.pyi +++ b/stdlib/2.7/hashlib.pyi @@ -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: ...