mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-18 20:11:23 +08:00
Fix Py2 hashlib.new arg type (#157)
This commit is contained in:
1 parent
f5f349ca8f
commit
0f67b2a675
1 file changed
+1
-1
@@ -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: ...
|
||||
|
||||
Reference in new issue
Block a user