Skip to content

Commit e052e2d

Browse files
author
Sylvain MARIE
committed
minor index update
1 parent 3969a59 commit e052e2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ If you create a custom subclass but do not inherit from `TypeError` nor `ValueEr
504504

505505
* **Plays well with [pyfields](valid8_with_other.md#pyfields), [autoclass](valid8_with_other.md#autoclass) and [attrs](valid8_with_other.md#attrs)**. Declare validation once by annotating the class with `@validate_field`, and you're good to go!
506506

507-
### validation functions
507+
**validation functions**
508508

509509
* **Compliant with [most](accepted) base validation functions out there**. You may use base validation functions from anywhere including your own, and including `functools.partial`, `lambda` or even callable objects implementing the `__call__` magic method. The *only* requirement is that they return `True` or `None` in case of success ! The way they fail is not important, `valid8` tolerates all. If you wish to create your own, you can leverage the three [exception classes](accepted#built-in-exceptions) provided.
510510

0 commit comments

Comments
 (0)