Fix examples headings

This commit is contained in:
Hynek Schlawack 2017-02-18 07:35:57 +01:00
parent ac461ff155
commit e176eca887
1 changed files with 2 additions and 2 deletions

View File

@ -292,7 +292,7 @@ Although your initializers should be as dumb as possible, it can come in handy t
Decorator Decorator
========= ---------
The more straightforward way is by using the attribute's ``validator`` method as a decorator. The more straightforward way is by using the attribute's ``validator`` method as a decorator.
The method has to accept three arguments: The method has to accept three arguments:
@ -321,7 +321,7 @@ If the value does not pass the validator's standards, it just raises an appropri
Callables Callables
========= ---------
If you want to re-use your validators, you should have a look at the ``validator`` argument to :func:`attr.ib()`. If you want to re-use your validators, you should have a look at the ``validator`` argument to :func:`attr.ib()`.