mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
stdlib: fix many attributes which are read-only at runtime but read-write in the stub (#7395)
This commit is contained in:
@@ -26,7 +26,8 @@ else:
|
||||
class HMAC:
|
||||
digest_size: int
|
||||
block_size: int
|
||||
name: str
|
||||
@property
|
||||
def name(self) -> str: ...
|
||||
def __init__(self, key: bytes, msg: ReadableBuffer | None = ..., digestmod: _DigestMod = ...) -> None: ...
|
||||
def update(self, msg: ReadableBuffer) -> None: ...
|
||||
def digest(self) -> bytes: ...
|
||||
|
||||
Reference in New Issue
Block a user