Skip to content

Commit

Permalink
docs: fix spelling mistake in validation.md (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt-Deacalion authored Jan 30, 2024
1 parent ad2a044 commit 713a7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ This can be further customized by providing {func}`cattrs.transform_error` with
A useful pattern is wrapping the default, {func}`cattrs.v.format_exception` function.

```
>>> from cattrs.v iomport format_exception
>>> from cattrs.v import format_exception

>>> def my_exception_formatter(exc: BaseException, type) -> str:
... if isinstance(exc, MyInterestingException):
Expand Down

0 comments on commit 713a7fb

Please sign in to comment.