mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
11
stdlib/2.7/hmac.pyi
Normal file
11
stdlib/2.7/hmac.pyi
Normal file
@@ -0,0 +1,11 @@
|
||||
# Stubs for hmac (Python 2)
|
||||
|
||||
from typing import Any
|
||||
|
||||
class HMAC:
|
||||
def update(self, msg: str) -> None: ...
|
||||
def digest(self) -> str: ...
|
||||
def hexdigest(self) -> str: ...
|
||||
def copy(self) -> HMAC: ...
|
||||
|
||||
def new(key: str, msg: str = None, digestmod: Any = None) -> HMAC: ...
|
||||
Reference in New Issue
Block a user