mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-11 19:00:52 +08:00
stdlib: add __slots__ (#14611)
This commit is contained in:
@@ -20,6 +20,7 @@ def new(key: bytes | bytearray, msg: ReadableBuffer | None, digestmod: _DigestMo
|
||||
def new(key: bytes | bytearray, *, digestmod: _DigestMod) -> HMAC: ...
|
||||
|
||||
class HMAC:
|
||||
__slots__ = ("_hmac", "_inner", "_outer", "block_size", "digest_size")
|
||||
digest_size: int
|
||||
block_size: int
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user