mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 11:01:27 +08:00
stdlib: add __slots__ (#14611)
This commit is contained in:
1 parent
28abff1eb3
commit
f32d9f08bd
38 files changed
+247
-12
No files matched your search
@@ -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