mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
add _sha.pyi
This commit is contained in:
15
builtins/2.7/_sha.pyi
Normal file
15
builtins/2.7/_sha.pyi
Normal 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: ...
|
||||
Reference in New Issue
Block a user