add _sha.pyi

This commit is contained in:
Matthias Kramm
2015-09-21 14:14:40 -07:00
parent ecab81569c
commit df26fc5fd6

15
builtins/2.7/_sha.pyi Normal file
View File

@@ -0,0 +1,15 @@
blocksize = ... # type: int
block_size = ... # type: int
digest_size = ... # type: int
class sha(object): # not actually exposed
name = ... # type: str
block_size = ... # type: int
digest_size = ... # type: int
digestsize = ... # type: int
def copy(self) -> "sha": ...
def digest(self) -> str: ...
def hexdigest(self) -> str: ...
def update(self, arg: str) -> None: ...
def new(arg: str = None) -> sha: ...