mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
[3.12] gh-112999: Replace the outdated "deprecated" directives with "versionchanged" (GH-113000) (GH-113019)
(cherry picked from commit fe9991bb67
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
parent
1ee872b27b
commit
e34458905b
4 changed files with 13 additions and 18 deletions
|
@ -53,7 +53,7 @@ class HMAC:
|
|||
raise TypeError("key: expected bytes or bytearray, but got %r" % type(key).__name__)
|
||||
|
||||
if not digestmod:
|
||||
raise TypeError("Missing required parameter 'digestmod'.")
|
||||
raise TypeError("Missing required argument 'digestmod'.")
|
||||
|
||||
if _hashopenssl and isinstance(digestmod, (str, _functype)):
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue