fix nullability of scrypt params (#10942)

This commit is contained in:
Benedikt Radtke
2023-10-29 01:35:39 +02:00
committed by GitHub
parent f85c2f4ae1
commit 1196915b39
2 changed files with 2 additions and 8 deletions

View File

@@ -416,6 +416,7 @@ csv.DictWriter.__init__ # runtime sig has *args but will error if more than 5 p
contextvars.Context.__init__ # C signature is broader than what is actually accepted
dataclasses.field # White lies around defaults
hashlib.scrypt # Raises TypeError if salt, n, r or p are None
hashlib.sha3_\d+ # Can be a class or a built-in function, can't be subclassed at runtime
hashlib.shake_\d+ # Can be a class or a built-in function, can't be subclassed at runtime
hmac.HMAC.blocksize # use block_size instead