Skip to content

Commit

Permalink
Remove default from type stubs from #1010
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Sep 4, 2022
1 parent f870beb commit c5968d5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/attr/validators.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,5 @@ def not_(
validator: _ValidatorType[_T],
*,
msg: Optional[str] = None,
exc_types: Union[Type[Exception], Iterable[Type[Exception]]] = (
ValueError,
TypeError,
)
exc_types: Union[Type[Exception], Iterable[Type[Exception]]] = ...
) -> _ValidatorType[_T]: ...

0 comments on commit c5968d5

Please sign in to comment.