This commit is contained in:
Valérian Rousset
2016-07-26 17:40:04 +02:00
committed by Guido van Rossum
parent cc735b1176
commit cd413c502c
4 changed files with 36 additions and 148 deletions

View File

@@ -1,13 +0,0 @@
# Stubs for hmac (Python 2)
from typing import Any, AnyStr
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 = ..., digestmod: Any = ...) -> HMAC: ...
def compare_digest(a: AnyStr, b: AnyStr) -> bool: ...