Too many positinal args reported on hashlib.shake_128().hexdigest(n)
#5565
Labels
Duplicate 🐫
Duplicate of an already existing issue
hashlib.shake_128().hexdigest(n)
#5565
Bug description
Configuration
No response
Command used
Pylint output
Expected behavior
No issues.
https://docs.python.org/3/library/hashlib.html#shake-variable-length-digests States that
shake_128
andshake_256
return different objects, whosehexdigest()
function takes in a length parameter.I did some digging and found that all other objects return a
_hashlib.HASH
object whileshake_128
andshake_256
return a_hashlib.HASHXOF
object, both of which are defined in C.Pylint version
OS / Environment
MacOS monterey
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: