Fix minor typo and re-order sentence (#432)

This commit is contained in:
Jamie Stewart 2018-08-22 14:56:54 +01:00 committed by Hynek Schlawack
parent c1d836432a
commit 1e8e4bc3ce
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ Validators
Although your initializers should do as little as possible (ideally: just initialize your instance according to the arguments!), it can come in handy to do some kind of validation on the arguments. Although your initializers should do as little as possible (ideally: just initialize your instance according to the arguments!), it can come in handy to do some kind of validation on the arguments.
``attrs`` offers two ways to define validators for each attribute and it's up to you to choose which one suites better your style and project. ``attrs`` offers two ways to define validators for each attribute and it's up to you to choose which one suits your style and project better.
You can use a decorator: You can use a decorator: