add (overwrite with) mypy stubs, if available

This commit is contained in:
Matthias Kramm
2015-09-30 07:36:12 -07:00
parent 69e10b3aed
commit 337abed05a
432 changed files with 22360 additions and 776 deletions

12
stdlib/2.7/sha.pyi Normal file
View File

@@ -0,0 +1,12 @@
# Stubs for Python 2.7 sha stdlib module
class sha(object):
def update(self, arg: str) -> None: ...
def digest(self) -> str: ...
def hexdigest(self) -> str: ...
def copy(self) -> sha: ...
def new(string: str = None) -> sha: ...
blocksize = 0
digest_size = 0