Skip to content

Latest commit

 

History

History
1 lines (1 loc) · 229 Bytes

1010.change.rst

File metadata and controls

1 lines (1 loc) · 229 Bytes

Added attrs.validators.not_(wrapped_validator) to logically invert wrapped_validator by accepting only values where wrapped_validator raises a ValueError or a TypeError (by default, exception types configurable).